mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00: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:
1 parent
d27b3948af
commit
81d8f3cccc
1 file changed
-1
@@ -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