From 61046dd39b816e500bd5d89abc3cd96fd07bf67e Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 11 Nov 2014 15:40:38 +0000 Subject: [PATCH] Remove redundant check in kill(1) --- kill.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kill.c b/kill.c index 7f30fe4..5e9f858 100644 --- a/kill.c +++ b/kill.c @@ -51,8 +51,6 @@ main(int argc, char *argv[]) if (strcmp(argv[0], "--") == 0) { argc--; argv++; - if (argc == 0) - usage(); } else if (argv[0][0] == '-' && isdigit(argv[0][1])) { /* handle XSI extension -signal_number */ errno = 0;