aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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 8c7a0e73662f..7de25e157206 100644
--- a/bin/kill/kill.c
+++ b/bin/kill/kill.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: kill.c,v 1.2 1994/09/24 02:55:44 davidg Exp $
*/
#ifndef lint
@@ -89,7 +89,7 @@ main(argc, argv)
numsig = strtol(*argv, &ep, 10);
if (!*argv || *ep)
errx(1, "illegal signal number: %s", *argv);
- if (numsig <= 0 || numsig > NSIG)
+ if (numsig < 0 || numsig > NSIG)
nosig(*argv);
} else
nosig(*argv);