Let cond_update() return if any svc_t was affected

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-06-06 00:33:36 +02:00
1 parent b82b205d92
commit cdc8873f5b
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ enum cond_state cond_get (const char *name);
enum cond_state cond_get_agg (const char *names);
int cond_affects (const char *name, const char *names);
void cond_update (const char *name);
int cond_update (const char *name);
int cond_set_path (const char *path, enum cond_state new);
void cond_set (const char *name);
void cond_set_oneshot (const char *name);