mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 22:13:01 +07:00
Log error if reconf cannot be written
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+2
-1
@@ -105,7 +105,8 @@ static void cond_bump_reconf(void)
|
||||
rgen = cond_get_gen(_PATH_RECONF);
|
||||
rgen++;
|
||||
|
||||
cond_set_gen(_PATH_RECONF, rgen);
|
||||
if (cond_set_gen(_PATH_RECONF, rgen))
|
||||
_pe("Failed setting %s to gen %d", _PATH_RECONF, rgen);
|
||||
}
|
||||
|
||||
static int cond_checkpath(const char *path)
|
||||
|
||||
Reference in New Issue
Block a user