summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;