diff options
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r-- | debianutils/start_stop_daemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 6f8fb2dc8..9c9b5fe77 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -250,7 +250,8 @@ int start_stop_daemon_main(int argc, char **argv) | |||
250 | USE_FEATURE_START_STOP_DAEMON_FANCY(&& !(opt & SSD_OPT_VERBOSE)); | 250 | USE_FEATURE_START_STOP_DAEMON_FANCY(&& !(opt & SSD_OPT_VERBOSE)); |
251 | 251 | ||
252 | if (signame) { | 252 | if (signame) { |
253 | signal_nr = bb_xgetlarg(signame, 10, 0, NSIG); | 253 | signal_nr = get_signum(signame); |
254 | if (signal_nr < 0) bb_show_usage(); | ||
254 | } | 255 | } |
255 | 256 | ||
256 | if (!startas) | 257 | if (!startas) |