aboutsummaryrefslogtreecommitdiff
path: root/src/sentinel.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-05-22 15:14:55 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-05-22 15:14:55 +0300
commita208e623da5bb38078bc514d5dfef640f8b02c4e (patch)
tree86d8979a9757da3e490b837890fb7619ea59065d /src/sentinel.c
parent4026d0df3587843f78891dc2492620165b078acd (diff)
downloadgenrc-a208e623da5bb38078bc514d5dfef640f8b02c4e.tar.gz
genrc-a208e623da5bb38078bc514d5dfef640f8b02c4e.tar.bz2
Improve parsing of the --pid-from argument.
* grecs: Update to a531c7d1. * src/pidfrom.c (get_pid_closure): Use the new WRDSO_FEATURE of wordsplit to limit the number of expected words in the expansion. * src/sentinel.c: Minor fix.
Diffstat (limited to 'src/sentinel.c')
-rw-r--r--src/sentinel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 33d3e06..4f269b8 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -200,7 +200,7 @@ wait_loop(pid_t child, int out, int err)
genrc_program, WSTOPSIG(status));
} else {
syslog(LOG_INFO, "%s terminated; status %d",
- genrc_program, rc);
+ genrc_program, status);
}
break;
}

Return to:

Send suggestions and report system problems to the System administrator.