daemon-util: Rename starting/stopping message constants

Currently, NOTIFY_READY from daemon-util.h conflicts with NOTIFY_READY
from NotifyState from service.h so let's rename the constants to avoid
the conflict.
This commit is contained in:
Daan De Meyer
2025-05-01 14:02:17 +02:00
parent a40f6dd4d8
commit 792a8bfb8a
29 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -688,7 +688,7 @@ static int run(int argc, char *argv[]) {
return r;
}
notify_stop = notify_start(NOTIFY_READY, NOTIFY_STOPPING);
notify_stop = notify_start(NOTIFY_READY_MESSAGE, NOTIFY_STOPPING_MESSAGE);
r = sd_event_loop(context.event);
if (r < 0)
return log_error_errno(r, "Failed to run event loop: %m");