]> git.pld-linux.org Git - packages/dante.git/blobdiff - sockd.init
- second part of small fixes inspired by kloczek (this time better checked,
[packages/dante.git] / sockd.init
index a4290da831e87aecde54711f5ab044288d6e7b1c..9b6781187efa856c248972d999bf14fdced3116d 100644 (file)
@@ -21,7 +21,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then
+       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down sockdd
                exit 1
This page took 0.147267 seconds and 4 git commands to generate.