From 038c03bef315314ddb1e460c67d29b2599b494ad Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 27 Feb 2018 16:02:20 -0600 Subject: [PATCH] supervise-daemon: make an error message more verbose --- src/rc/supervise-daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index 6d36a5aa..669db3a2 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -581,7 +581,8 @@ int main(int argc, char **argv) openlog(applet, LOG_PID, LOG_DAEMON); if (argc >= 1 && svcname && strcmp(argv[1], svcname)) - eerrorx("%s: the first argument must be %s", applet, svcname); + eerrorx("%s: the first argument is %s and must be %s", + applet, argv[1], svcname); if ((tmp = getenv("SSD_NICELEVEL"))) if (sscanf(tmp, "%d", &nicelevel) != 1)