Drop unnecessary service_step() in cond_reload()

The cond_reload() fn is called on `initctl reload`, thus we don't need
to call service_step(), since we call service_step_all() later in that
cycle.  So we can drop cond_update(NULL), which calls service_step().

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-02-24 22:12:05 +01:00
parent d27b3948af
commit 81d8f3cccc
-1
View File
@@ -242,7 +242,6 @@ void cond_reload(void)
_d("");
cond_bump_reconf();
cond_update(NULL);
}
static int reassert(const char *fpath, const struct stat *sb, int tflg, struct FTW *ftw)