[Fedora-directory-commits] dsmlgw/misc start-ds-dsmlgw.in,1.1,1.2

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Wed Apr 23 18:28:56 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/dsmlgw/misc
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21063

Modified Files:
	start-ds-dsmlgw.in 
Log Message:
use su instead of su -



Index: start-ds-dsmlgw.in
===================================================================
RCS file: /cvs/dirsec/dsmlgw/misc/start-ds-dsmlgw.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- start-ds-dsmlgw.in	23 Apr 2008 16:55:58 -0000	1.1
+++ start-ds-dsmlgw.in	23 Apr 2008 18:28:53 -0000	1.2
@@ -26,7 +26,7 @@
 
 # if root, use su to execute the startup script - user is set in @initconfigdir@/@package_name@
 if [ "$USER" = "root" ] ; then
-    su - $CATALINA_USER -c "@tomcat_cmd@ $@"
+    su $CATALINA_USER -c "@tomcat_cmd@ $@"
 else
     @tomcat_cmd@ $@
 fi




More information about the Fedora-directory-commits mailing list