From 66abbefd6c389642aedd32f89285de32223b3da6 Mon Sep 17 00:00:00 2001 From: Eray Aslan Date: Wed, 12 Jan 2011 19:46:11 -0600 Subject: 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) --- sh/runscript.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/runscript.sh.in') diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 4e8e215..947c2f7 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 } -- cgit v1.2.3