mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
initctl: fix restart of run/tasks, stuck in DONE state
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
c85e28b971
commit
3c4eca60b7
3 files changed
+30
-6
No files matched your search
+1
-1
@@ -262,7 +262,7 @@ static int do_restart(char *arg)
|
||||
if (retries == 0)
|
||||
errx(1, "Failed stopping %s (restart)", arg);
|
||||
|
||||
return do_startstop(INIT_CMD_START_SVC, arg);
|
||||
return do_startstop(INIT_CMD_RESTART_SVC, arg);
|
||||
}
|
||||
|
||||
static int dump_one_cond(const char *fpath, const struct stat *sb, int tflag, struct FTW *ftwbuf)
|
||||
|
||||
Reference in new issue
Block a user