make "killall -j" not core dump.

Submitted by: Joe Marcus Clarke in current@
This commit is contained in:
Warner Losh 2003-04-27 07:17:27 +00:00
parent 891c2f9e3e
commit 6a31ec40cb

View File

@ -153,6 +153,8 @@ main(int ac, char **av)
++av;
--ac;
jflag++;
if (!*av)
errx(1, "must specify jid");
jid = strtol(*av, &ep, 10);
if (!*av || *ep)
errx(1, "illegal jid: %s", *av);