freebsd-ports/www/slash/files/patch-util::slash

12 lines
455 B
Text
Raw Normal View History

--- utils/slash.orig Thu Nov 1 01:13:59 2001
+++ utils/slash Sat Jun 8 13:39:11 2002
@@ -66,7 +66,7 @@
# if you aren't using GMT for internal dates, please change
# the appropriate lines, below.
if [ "$OS" = "FreeBSD" ] ; then
- su - $USERNAME "-c 'TZ=GMT $SLASHD $SERVER_NAME'" &
+ TZ=GMT su -m $USERNAME -c "$SLASHD $SERVER_NAME" &
elif [ "$OS" = "Linux" ] ; then
su - $USERNAME -c "TZ=GMT $SLASHD $SERVER_NAME" &
else