sh - Sync to FreeBSD d038ee76 part 2/2 (f)
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Jun 2015 02:53:48 +0000 (19:53 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Jun 2015 02:57:15 +0000 (19:57 -0700)
* Fix bin/kill (shares code with /bin/sh).  Procedure renamed.

bin/kill/kill.c

index 1e1be2d..51d5d69 100644 (file)
@@ -121,7 +121,7 @@ main(int argc, char **argv)
        for (errors = 0; argc; argc--, argv++) {
 #ifdef SHELL
                if (**argv == '%')
-                       pid = getjobpgrp(*argv);
+                       pid = killjob(*argv, numsig);
                else
 #endif
                {