aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/kill.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toys/kill.c b/toys/kill.c
index d9beda33..e64a146b 100644
--- a/toys/kill.c
+++ b/toys/kill.c
@@ -6,7 +6,7 @@
*
* See http://opengroup.org/onlinepubs/9699919799/utilities/kill.html
-USE_KILL(NEWTOY(kill, "?s:l", TOYFLAG_BIN))
+USE_KILL(NEWTOY(kill, "?s: l", TOYFLAG_BIN))
config KILL
bool "kill"
@@ -45,10 +45,8 @@ void kill_main(void)
}
// signal must come before pids, so "kill -9 -1" isn't confusing.
-printf("*args=%s\n", *args);
if (!TT.signame && *args && **args=='-') TT.signame=*(args++)+1;
-printf("TT.signame=%s\n", TT.signame);
if (TT.signame) {
char *arg;
int i = strtol(TT.signame, &arg, 10);