jim 99/04/23 05:45:18
Modified: src/helpers getuid.sh
Log:
Avoid extraneous output on FreeBSD 3
Revision Changes Path
1.5 +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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- getuid.sh 1999/04/22 11:58:56 1.4
+++ getuid.sh 1999/04/23 12:45:12 1.5
@@ -11,7 +11,7 @@
if `./src/helpers/PrintPath -s id` ; then
AP_IDPATH=`./src/helpers/PrintPath id`
# See if it's a POSIX 'id'
- if `$AP_IDPATH -u 2>/dev/null` ; then
+ if `$AP_IDPATH -u >/dev/null 2>&1` ; then
AP_RETVAL=`$AP_IDPATH -u`
echo $AP_RETVAL
exit 0