jim 99/04/21 12:37:17
Modified: src/helpers getuid.sh
Log:
Sorry again... The output of 'who' is
most non-consistant :)
Revision Changes Path
1.3 +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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- getuid.sh 1999/04/21 19:27:46 1.2
+++ getuid.sh 1999/04/21 19:37:17 1.3
@@ -32,7 +32,7 @@
if AP_WHOAMI=`./src/helpers/PrintPath whoami` ; then
AP_LOGNAME=`$AP_WHOAMI`
else
- if AP_LOGNAME=`who am i | tail -1 | sed -e 's/[ ]*.*$//'` ; then
+ if AP_LOGNAME=`who am i | tail -1 | sed -e 's/[ ][ ]*.*$//'` ; then
:
else
AP_LOGNAME=$LOGNAME