]> git.pld-linux.org Git - packages/gated.git/blobdiff - gated.init
- fixed previous change
[packages/gated.git] / gated.init
index 886346bbb9d1063a6b5728ec6fcba7db409b43d5..c3cd3e520212a05001d11d3f9b7bad116df8313c 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
                msg_network_down gated
                exit 1
        fi
This page took 0.075958 seconds and 4 git commands to generate.