diff options
author | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2010-10-28 20:34:04 +0000 |
---|---|---|
committer | knarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2010-10-28 20:34:04 +0000 |
commit | 7e92a2647f78aaa42ce01fe322d21c5eb963ceba (patch) | |
tree | 8276f74b998a7ed56fe6adc1efe752e5ed54beec /lib/sbin | |
parent | b713dc18e04c1aa36e1b19ead120c9b643d7eb67 (diff) |
use getpwuid($<) instead of getlogin() which returns an empty string on occation
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4645 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin')
-rw-r--r-- | lib/sbin/RunTestUtils.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/RunTestUtils.pl b/lib/sbin/RunTestUtils.pl index 38945818..c6063eb8 100644 --- a/lib/sbin/RunTestUtils.pl +++ b/lib/sbin/RunTestUtils.pl @@ -798,7 +798,7 @@ sub WriteFullResults push (@summary, " Time -> $date"); push (@summary, " Host -> $hostname"); - push (@summary, " User -> ".getlogin()); + push (@summary, " User -> ".getpwuid($<)); push (@summary, ''); push (@summary, " Total available tests -> $total"); |