Log error if reconf cannot be written

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-04-18 04:31:56 +02:00
parent 7b74c9900f
commit 7f272768e4
+2 -1
View File
@@ -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)