summaryrefslogblamecommitdiff
path: root/www/slash/files/patch-util::slash
blob: b6a620fac8fdfcb06a905be11bf33f51fb265a45 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                   
--- 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 $USERNAME -c "$SLASHD $SERVER_NAME" &
 			elif [ "$OS" = "Linux" ] ; then 
 				su - $USERNAME -c "TZ=GMT $SLASHD $SERVER_NAME" &
 			else