mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Move run/tasks to stopping state when they exit, like services
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
2b6f00f126
commit
29fe8cc73d
1 file changed
+1
@@ -1087,6 +1087,7 @@ restart:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (svc_is_runtask(svc)) {
|
if (svc_is_runtask(svc)) {
|
||||||
|
svc_set_state(svc, SVC_STOPPING_STATE);
|
||||||
svc->once++;
|
svc->once++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user