public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c4e24
)
kill.c: inverted test of strcmp
author
Brett Gordon
<beretta42@gmail.com>
Tue, 23 Feb 2016 18:41:28 +0000
(13:41 -0500)
committer
Brett Gordon
<beretta42@gmail.com>
Tue, 23 Feb 2016 18:41:28 +0000
(13:41 -0500)
Applications/util/kill.c
patch
|
blob
|
history
diff --git
a/Applications/util/kill.c
b/Applications/util/kill.c
index
f3cf9df
..
e7d9460
100644
(file)
--- a/
Applications/util/kill.c
+++ b/
Applications/util/kill.c
@@
-29,9
+29,9
@@
int main(int argc, char *argv[])
sig = SIGINT;
else if (!strcmp(cp, "QUIT"))
sig = SIGQUIT;
- else if (strcmp(cp, "KILL"))
+ else if (
!
strcmp(cp, "KILL"))
sig = SIGKILL;
- else if (strcmp(cp, "TERM"))
+ else if (
!
strcmp(cp, "TERM"))
sig = SIGTERM;
else {
sig = 0;