commit 61046dd39b816e500bd5d89abc3cd96fd07bf67e
parent a0e90509254c7a8db5f7ff55560f2a8ff37c32d4
Author: sin <sin@2f30.org>
Date: Tue, 11 Nov 2014 15:40:38 +0000
Remove redundant check in kill(1)
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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;