diff options
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Environment.pm')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Environment.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/Environment.pm b/usr/src/libpiny/lib/Piny/Environment.pm index 4430362..586cce3 100644 --- a/usr/src/libpiny/lib/Piny/Environment.pm +++ b/usr/src/libpiny/lib/Piny/Environment.pm @@ -28,7 +28,7 @@ sub _build_user { } elsif ( defined $ENV{"UID"} ) { return Piny::User->new( uid => $ENV{"UID"} ); } elsif ( defined $ENV{"USER"} ) { - return Piny::User->new( username => $ENV{"USERNAME"} ); + return Piny::User->new( username => $ENV{"USER"} ); } else { return Piny::User->new( uid => $< ); }; |