From 435b7b5d203e0f8a253b46596542c1c1557df787 Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 8 Oct 2015 16:15:51 +0100 Subject: [PATCH] Convert leading whitespace to tabs --- flock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flock.c b/flock.c index 9d025e2..112ce4a 100644 --- a/flock.c +++ b/flock.c @@ -64,9 +64,9 @@ main(int argc, char *argv[]) } waitpid(pid, &status, 0); - if (WIFSIGNALED(status)) - return 128 + WTERMSIG(status); - if (WIFEXITED(status)) + if (WIFSIGNALED(status)) + return 128 + WTERMSIG(status); + if (WIFEXITED(status)) return WEXITSTATUS(status); if (close(fd) < 0)