1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/comms/mgetty+sendfax/files/patch-aa
1996-03-13 00:37:08 +00:00

27 lines
569 B
Plaintext

*** fax/faxspool.in~ Wed Aug 30 12:41:17 1995
--- fax/faxspool.in Mon Mar 11 04:43:21 1996
***************
*** 287,297 ****
# user name (for authentification)
##########
! if user=`logname 2>/dev/null`
! then :
else
! id=`id`
! user=`expr "$id" : "[^( ]*(\([^)]*\)"`
fi
test -z "$user" && user=$LOGNAME
test -z "$user" && user=$USER
--- 287,296 ----
# user name (for authentification)
##########
! if [ `id -u` = 0 ]; then
! user=root
else
! user=`logname`
fi
test -z "$user" && user=$LOGNAME
test -z "$user" && user=$USER