summaryrefslogtreecommitdiff
path: root/bin/kill
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2011-06-06 07:20:14 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2011-06-06 07:20:14 +0000
commit0ce40a9ecc08f0398c2be85cd9372ef996148b19 (patch)
treeb04a43743edb5ac37ee9127f7196990ae296c9f9 /bin/kill
parentbf36ea00578588edb9164c0054186b917c18d08a (diff)
zap unneeded test; from pablo caballero; ok nicm@
Diffstat (limited to 'bin/kill')
-rw-r--r--bin/kill/kill.c4
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;