mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user