1 |
commit: 038c03bef315314ddb1e460c67d29b2599b494ad |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 27 22:02:20 2018 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 27 22:02:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=038c03be |
7 |
|
8 |
supervise-daemon: make an error message more verbose |
9 |
|
10 |
src/rc/supervise-daemon.c | 3 ++- |
11 |
1 file changed, 2 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c |
14 |
index 6d36a5aa..669db3a2 100644 |
15 |
--- a/src/rc/supervise-daemon.c |
16 |
+++ b/src/rc/supervise-daemon.c |
17 |
@@ -581,7 +581,8 @@ int main(int argc, char **argv) |
18 |
openlog(applet, LOG_PID, LOG_DAEMON); |
19 |
|
20 |
if (argc >= 1 && svcname && strcmp(argv[1], svcname)) |
21 |
- eerrorx("%s: the first argument must be %s", applet, svcname); |
22 |
+ eerrorx("%s: the first argument is %s and must be %s", |
23 |
+ applet, argv[1], svcname); |
24 |
|
25 |
if ((tmp = getenv("SSD_NICELEVEL"))) |
26 |
if (sscanf(tmp, "%d", &nicelevel) != 1) |