summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-02 09:25:59 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-02 09:25:59 -0400
commit4ef9c8527c65bef22ca0809012d9bc99a0abd121 (patch)
treec4efc0fd725f70a26e054ebbc1db43bb676c55b0
parent512d86c92a68f0422d1fff1efae2086c5b4b84e0 (diff)
parentff9c82cc399c37dd3d3fad4ec116b33c9efe70ea (diff)
Merge pull request #470 from marineam/escape
escape: fix exit code
-rw-r--r--src/escape/escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/escape/escape.c b/src/escape/escape.c
index 9ccb015538..341453398d 100644
--- a/src/escape/escape.c
+++ b/src/escape/escape.c
@@ -236,5 +236,5 @@ int main(int argc, char *argv[]) {
fputc('\n', stdout);
finish:
- return r <= 0 ? EXIT_FAILURE : EXIT_SUCCESS;
+ return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}