diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-12-31 03:35:32 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-12-31 03:35:32 +0100 |
commit | 34b7632d1d2ed38c7251ac8c2869c8fc416a99f5 (patch) | |
tree | 4eabbdd624ca5eea6b9928e06068ea2213a3f0d0 /scripts | |
parent | fb8db18d79b4efc65c2b04a66a8e9e3b56f21f00 (diff) |
Do not exit immediately when a service has been stopped already
The old behaviour was to exit(EXIT_SUCCESS) in case the service has been stopped
already, even if further commands has been passed to the init script
(like zap, start).
So using for example /etc/init.d/foo stop zap start would abort immediately
after "stop" if the service has been stopped already. Though there may be cases
were we need it to proceed with the remaining commands, zap and start in this
case.
This patch fixes the behaviour to continue and proceed with the remaining
commands whenever necessary.
X-Gentoo-Bug: 371845
X-Gentoo-Bug-URL: https://bugs.gentoo.org/371845
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions