diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-01-04 04:10:25 +0300 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-01-04 04:10:25 +0300 |
commit | 7dc160721ee3ceb76240a43d1454b45aaa9dbee4 (patch) | |
tree | 7532471be456e2c9f11eab88cb34f1e38abd184f /kill.c | |
parent | 9c88cac5cbfb2ff70f800ee5bb3289e925aaa65f (diff) |
Bunches of fixes. Typos, bugs, etc.
Added 'gunzip -t'. inittab support _almost_ works (but it isn't
ready for prime time useage yet).
-Erik
Diffstat (limited to 'kill.c')
-rw-r--r-- | kill.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |