svn commit: trunk/busybox/debianutils

landley at busybox.net landley at busybox.net
Mon Aug 28 20:30:27 UTC 2006


Author: landley
Date: 2006-08-28 13:30:27 -0700 (Mon, 28 Aug 2006)
New Revision: 16006

Log:
Bugfix from Jason Schoon: send the right signal with -s.


Modified:
   trunk/busybox/debianutils/start_stop_daemon.c


Changeset:
Modified: trunk/busybox/debianutils/start_stop_daemon.c
===================================================================
--- trunk/busybox/debianutils/start_stop_daemon.c	2006-08-28 20:16:42 UTC (rev 16005)
+++ trunk/busybox/debianutils/start_stop_daemon.c	2006-08-28 20:30:27 UTC (rev 16006)
@@ -250,7 +250,8 @@
 			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)




More information about the busybox-cvs mailing list