projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028ba28
)
Bugfix from Jason Schoon: send the right signal with -s.
author
Rob Landley
<rob@landley.net>
Mon, 28 Aug 2006 20:30:27 +0000
(20:30 -0000)
committer
Rob Landley
<rob@landley.net>
Mon, 28 Aug 2006 20:30:27 +0000
(20:30 -0000)
debianutils/start_stop_daemon.c
patch
|
blob
|
history
diff --git
a/debianutils/start_stop_daemon.c
b/debianutils/start_stop_daemon.c
index 6f8fb2dc83c47afe25da059b052c6b00621305fd..9c9b5fe779845b71dd77e855d747833d66b86f13 100644
(file)
--- 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)
USE_FEATURE_START_STOP_DAEMON_FANCY(&& !(opt & SSD_OPT_VERBOSE));
if (signame) {
- signal_nr = bb_xgetlarg(signame, 10, 0, NSIG);
+ signal_nr = get_signum(signame);
+ if (signal_nr < 0) bb_show_usage();
}
if (!startas)