jim 99/04/21 12:27:47
Modified: src/helpers getuid.sh Log: Sorry... forgot this little patch Revision Changes Path 1.2 +1 -1 apache-1.3/src/helpers/getuid.sh Index: getuid.sh =================================================================== RCS file: /export/home/cvs/apache-1.3/src/helpers/getuid.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- getuid.sh 1999/04/21 19:24:52 1.1 +++ getuid.sh 1999/04/21 19:27:46 1.2 @@ -32,7 +32,7 @@ if AP_WHOAMI=`./src/helpers/PrintPath whoami` ; then AP_LOGNAME=`$AP_WHOAMI` else - if AP_LOGNAME=`who am i | sed -e 's/[ ]*.*$//'` ; then + if AP_LOGNAME=`who am i | tail -1 | sed -e 's/[ ]*.*$//'` ; then : else AP_LOGNAME=$LOGNAME