Code cleanup and improved svc abstraction

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-11-01 16:00:20 +01:00
1 parent 5c672885f1
commit 4a71f19c40
5 files changed
+70 -54

No files matched your search

+2 -2
View File
@@ -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;