Author: draenog
Date: Wed Jan 25 15:40:30 2012
New Revision: 12468

Modified:
   rc-scripts/trunk/lib/functions
Log:
- fix bashism in previous commit


Modified: rc-scripts/trunk/lib/functions
==============================================================================
--- rc-scripts/trunk/lib/functions      (original)
+++ rc-scripts/trunk/lib/functions      Wed Jan 25 15:40:30 2012
@@ -619,7 +619,7 @@
        if [ -n "$user" -a "$user" != "root" ]; then
                prog="/bin/su $user -s /bin/sh -c \""
        fi
-       if [ "$fork" == "1" ]; then
+       if [ "$fork" = "1" ]; then
                prog="/usr/bin/setsid ${prog:-sh -c \"}"
        fi
        # If command to execute ends with quotation mark, add remaining
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to