openrc/src
Christian Ruppert 34b7632d1d 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
2011-12-31 03:35:32 +01:00
..
includes drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
libeinfo Libeinfo: do not suppress ewarn() messages 2011-08-22 12:39:26 -05:00
librc add support for extra_stopped_commands 2011-11-16 13:56:55 -06:00
rc Do not exit immediately when a service has been stopped already 2011-12-31 03:35:32 +01:00
test make shell math operations style more succulent 2011-11-19 02:25:36 -05:00
Makefile drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00