mirror of
git://git.suckless.org/sbase
synced 2024-12-23 15:34:38 +00:00
Remove redundant check in kill(1)
This commit is contained in:
parent
a0e9050925
commit
61046dd39b
2
kill.c
2
kill.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user