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:
@@ -345,7 +345,7 @@ static int run(int argc, char *argv[]) {
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to fully start up daemon: %m");
|
||||
|
||||
r = sd_notify(false, NOTIFY_READY);
|
||||
r = sd_notify(false, NOTIFY_READY_MESSAGE);
|
||||
if (r < 0)
|
||||
log_warning_errno(r, "Failed to send readiness notification, ignoring: %m");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user