From 91a81d93b569a98e04566eef1753a0956ba035f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Jul 2014 15:35:48 -0400 Subject: escape: fix return code --- src/escape/escape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/escape/escape.c') 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; } -- cgit v1.2.1