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)
This commit is contained in:
committed by
William Hubbs
parent
84eda608c8
commit
66abbefd6c
@@ -101,7 +101,7 @@ _status()
|
||||
return 0
|
||||
else
|
||||
einfo "status: stopped"
|
||||
return 1
|
||||
return 3
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user