From a8d3d870b066345851e8948dd89f43d3dbe63dce Mon Sep 17 00:00:00 2001 From: Marcos Mello Date: Sun, 4 Feb 2018 07:50:32 -0200 Subject: [PATCH] Remove STATUS= from debug messages https://bugzilla.samba.org/show_bug.cgi?id=11568 --- lib/util/become_daemon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/util/become_daemon.c b/lib/util/become_daemon.c index 232eda69b64..0ea8f772a61 100644 --- a/lib/util/become_daemon.c +++ b/lib/util/become_daemon.c @@ -120,7 +120,7 @@ void exit_daemon(const char *msg, int error) msg, error); #endif - DBG_ERR("STATUS=daemon failed to start: %s, error code %d\n", + DBG_ERR("daemon failed to start: %s, error code %d\n", msg, error); exit(1); } @@ -134,7 +134,7 @@ void daemon_ready(const char *daemon) sd_notifyf(0, "READY=1\nSTATUS=%s: ready to serve connections...", daemon); #endif - DBG_ERR("STATUS=daemon '%s' finished starting up and ready to serve " + DBG_ERR("daemon '%s' finished starting up and ready to serve " "connections\n", daemon); } @@ -144,7 +144,7 @@ void daemon_status(const char *daemon, const char *msg) daemon = "Samba"; } #if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD) - sd_notifyf(0, "\nSTATUS=%s: %s", daemon, msg); + sd_notifyf(0, "STATUS=%s: %s", daemon, msg); #endif - DBG_ERR("STATUS=daemon '%s' : %s\n", daemon, msg); + DBG_ERR("daemon '%s' : %s\n", daemon, msg); } -- 2.16.1