diff options
author | Eray Aslan <eras@gentoo.org> | 2011-01-12 19:46:11 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-01-12 19:46:11 -0600 |
commit | 66abbefd6c389642aedd32f89285de32223b3da6 (patch) | |
tree | 094668e44e2cdcfbf93698de70f08cba3dca05d6 /sh | |
parent | 84eda608c8ef98dc685289d2df595ea8866abf37 (diff) |
bug 351160: make openrc exit codes LSB compliant
* status on a stopped service now has a return code of 3 (was 1)
* starting an already started service now has a return code of 0 (was 1)
* stopping an already stopped service now has a return code of 0 (was 1)
Diffstat (limited to 'sh')
-rw-r--r-- | sh/runscript.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 4e8e2158..947c2f73 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -101,7 +101,7 @@ _status() return 0 else einfo "status: stopped" - return 1 + return 3 fi } |