From 7dc160721ee3ceb76240a43d1454b45aaa9dbee4 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Tue, 4 Jan 2000 01:10:25 +0000 Subject: Bunches of fixes. Typos, bugs, etc. Added 'gunzip -t'. inittab support _almost_ works (but it isn't ready for prime time useage yet). -Erik --- procps/kill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'procps') diff --git a/procps/kill.c b/procps/kill.c index 0ba6d76ce..e72b73493 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -183,7 +183,7 @@ extern int kill_main (int argc, char **argv) do_it_now: - while (argc >= 1) { + while (--argc >= 0) { int pid; struct stat statbuf; char pidpath[20]="/proc/"; @@ -198,6 +198,7 @@ do_it_now: fprintf(stderr, "kill: (%d) - No such pid\n", pid); exit( FALSE); } + fprintf(stderr, "sig = %d\n", sig); if (kill (pid, sig) != 0) { perror (*argv); exit ( FALSE); -- cgit v1.2.3