]> git.pld-linux.org Git - packages/synergy.git/commitdiff
- exec and exit codes
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 23 Jan 2012 20:16:22 +0000 (20:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    synergy-server.init -> 1.4

synergy-server.init

index 869b83e254ece4c1f07038fd64b5409816e10bf1..b1eab5a2e38a4a52deb4de839146b3443bdfe114 100644 (file)
@@ -12,7 +12,7 @@
 # Check that networking is up.
 if ! is_yes "${NETWORKING}"; then
        echo >&2 "$0: Networking disabled"
-       exit 0
+       exit 3
 fi
 
 SYNERGYS_NAME=${SYNERGYS_NAME:-$(hostname -s)}
@@ -23,4 +23,4 @@ killall -TERM synergys 2> /dev/null
 usleep 300
 killall -9 synergys 2> /dev/null
 
-/usr/bin/synergys --daemon --restart -n ${SYNERGYS_NAME} --config /etc/synergy/layout.conf ${SYNERGYS_OPTS}
+exec /usr/bin/synergys --daemon --restart -n ${SYNERGYS_NAME} --config /etc/synergy/layout.conf ${SYNERGYS_OPTS}
This page took 0.067356 seconds and 4 git commands to generate.