mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
Remove reconf condition when .conf reload completes
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
75d29de3cc
commit
06479aa5f1
2 files changed
+9
-1
No files matched your search
+6
-1
@@ -148,7 +148,12 @@ static int reassert(const char *fpath, const struct stat *sb, int tflg, struct F
|
||||
*/
|
||||
void cond_reassert(const char *type)
|
||||
{
|
||||
_d("%s", type);
|
||||
_d("%s", type ?: "reload done");
|
||||
if (!type) {
|
||||
cond_clear(COND_RECONF);
|
||||
return;
|
||||
}
|
||||
|
||||
nftw(cond_path(type), reassert, 20, FTW_DEPTH);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user