X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.init;h=0907cdf7ca96120253b872f3a682a32f13537be9;hb=0e581146fe81fce12c9e72cb70e06eba940720b5;hp=34b5604dc7bf0a154b364a8090e526ffe76cfef1;hpb=6b7b9d34c0eab9871cf6284c41108a84129817f3;p=openvswitch diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 34b5604d..0907cdf7 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -93,10 +93,10 @@ force_stop() { [ ! -f "$pidfile" ] && return if running $name; then kill $pid - [ -n "$DODTIME" ] && sleep "$DODTIME"s + [ -n "$DODTIME" ] && sleep "$DODTIME" if running $name; then kill -KILL $pid - [ -n "$DODTIME" ] && sleep "$DODTIME"s + [ -n "$DODTIME" ] && sleep "$DODTIME" if running $name; then echo "Cannot kill $name (pid=$pid)!" exit 1 @@ -157,7 +157,7 @@ load_module() { echo "For instructions, read" echo "/usr/share/doc/openvswitch-datapath-source/README.Debian" fi - exit 1 + exit 0 fi }