aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-02-27 16:02:20 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-02-27 16:02:20 -0600
commit038c03bef315314ddb1e460c67d29b2599b494ad (patch)
tree0c6d8afe5f25a2667ab81c979c079a2c1e9d8aee /src
parente51dc29e2f3b2718a62347e8588115e786a9f3c8 (diff)
supervise-daemon: make an error message more verbose
Diffstat (limited to 'src')
-rw-r--r--src/rc/supervise-daemon.c3
1 files changed, 2 insertions, 1 deletions
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)