Remove redundant check in kill(1)

This commit is contained in:
sin 2014-11-11 15:40:38 +00:00
parent a0e9050925
commit 61046dd39b

2
kill.c
View File

@ -51,8 +51,6 @@ main(int argc, char *argv[])
if (strcmp(argv[0], "--") == 0) { if (strcmp(argv[0], "--") == 0) {
argc--; argc--;
argv++; argv++;
if (argc == 0)
usage();
} else if (argv[0][0] == '-' && isdigit(argv[0][1])) { } else if (argv[0][0] == '-' && isdigit(argv[0][1])) {
/* handle XSI extension -signal_number */ /* handle XSI extension -signal_number */
errno = 0; errno = 0;