[hackers] [sbase] Remove redundant check in kill(1) || sin
commit 61046dd39b816e500bd5d89abc3cd96fd07bf67e
Author: sin <sin_AT_2f30.org>
Date: Tue Nov 11 15:40:38 2014 +0000
Remove redundant check in kill(1)
diff --git a/kill.c b/kill.c
index 7f30fe4..5e9f858 100644
--- a/kill.c
+++ b/kill.c
_AT_@ -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;
Received on Tue Nov 11 2014 - 16:41:02 CET
This archive was generated by hypermail 2.3.0
: Tue Nov 11 2014 - 16:48:14 CET