summaryrefslogtreecommitdiff
path: root/src/escape/escape.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-19 15:35:48 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-19 15:44:50 -0400
commit91a81d93b569a98e04566eef1753a0956ba035f3 (patch)
tree7179bf60afd996a572ce7a08121a95ca8de53432 /src/escape/escape.c
parent53290ee39d0b4a61d75df3e7ef9372380352594e (diff)
escape: fix return code
Diffstat (limited to 'src/escape/escape.c')
-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 ae0c183eca..ba2fb4789f 100644
--- a/src/escape/escape.c
+++ b/src/escape/escape.c
@@ -235,5 +235,5 @@ int main(int argc, char *argv[]) {
fputc('\n', stdout);
finish:
- return r ? EXIT_FAILURE : EXIT_SUCCESS;
+ return r <= 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}