diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-06-06 07:20:14 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-06-06 07:20:14 +0000 |
commit | 0ce40a9ecc08f0398c2be85cd9372ef996148b19 (patch) | |
tree | b04a43743edb5ac37ee9127f7196990ae296c9f9 /bin/kill | |
parent | bf36ea00578588edb9164c0054186b917c18d08a (diff) |
zap unneeded test; from pablo caballero; ok nicm@
Diffstat (limited to 'bin/kill')
-rw-r--r-- | bin/kill/kill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/kill/kill.c b/bin/kill/kill.c index 4a356c31f7d..5edc6f1471a 100644 --- a/bin/kill/kill.c +++ b/bin/kill/kill.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kill.c,v 1.9 2009/10/27 23:59:21 deraadt Exp $ */ +/* $OpenBSD: kill.c,v 1.10 2011/06/06 07:20:13 otto Exp $ */ /* $NetBSD: kill.c,v 1.11 1995/09/07 06:30:27 jtc Exp $ */ /* @@ -65,7 +65,7 @@ main(int argc, char *argv[]) if (!isdigit(**argv)) usage(); numsig = strtol(*argv, &ep, 10); - if (!*argv || *ep) + if (*ep) errx(1, "illegal signal number: %s", *argv); if (numsig >= 128) numsig -= 128; |