From 1ecae77180f8997b9459f3230ff1bfbfe0f46186 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Tue, 23 Feb 2016 13:41:28 -0500 Subject: [PATCH] kill.c: inverted test of strcmp --- Applications/util/kill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/util/kill.c b/Applications/util/kill.c index f3cf9df9..e7d94608 100644 --- 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; -- 2.34.1