mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
Code cleanup and improved svc abstraction
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
5c672885f1
commit
4a71f19c40
5 files changed
+70
-54
No files matched your search
@@ -146,7 +146,7 @@ restart:
|
||||
case SM_RUNLEVEL_WAIT_STATE:
|
||||
/* Need to wait for any services to stop? If so, exit early
|
||||
* and perform second stage from service_monitor later. */
|
||||
if (!service_stop_is_done())
|
||||
if (!svc_stop_completed())
|
||||
break;
|
||||
|
||||
/* Prev runlevel services stopped, call hooks before starting new runlevel ... */
|
||||
@@ -196,7 +196,7 @@ restart:
|
||||
case SM_RELOAD_WAIT_STATE:
|
||||
/* Need to wait for any services to stop? If so, exit early
|
||||
* and perform second stage from service_monitor later. */
|
||||
if (!service_stop_is_done())
|
||||
if (!svc_stop_completed())
|
||||
break;
|
||||
|
||||
sm->in_teardown = 0;
|
||||
|
||||
Reference in new issue
Block a user