commit: 038c03bef315314ddb1e460c67d29b2599b494ad Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> AuthorDate: Tue Feb 27 22:02:20 2018 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Tue Feb 27 22:02:20 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=038c03be
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)