initctl: fix restart of run/tasks, stuck in DONE state

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-04-09 19:51:03 +02:00
1 parent c85e28b971
commit 3c4eca60b7
3 files changed
+30 -6

No files matched your search

+1 -1
View File
@@ -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)