--- fax/faxspool.in.orig	Sat Jul 24 17:27:25 1999
+++ fax/faxspool.in	Sat Aug 28 13:30:14 1999
@@ -313,11 +313,11 @@
 # user name (for authentification)
 ##########
 
-if user=`logname 2>/dev/null`
-then :
+if [ `id -u` = 0 ]; then
+    user=root
 else
     id=`id`
-    user=`expr "$id" : "[^( ]*(\([^)]*\)"`
+    user=`logname`
 fi
 test -z "$user" && user=$LOGNAME
 test -z "$user" && user=$USER
