summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Marineau <michael.marineau@coreos.com>2015-07-01 23:46:42 -0700
committerMichael Marineau <michael.marineau@coreos.com>2015-07-01 23:46:42 -0700
commitff9c82cc399c37dd3d3fad4ec116b33c9efe70ea (patch)
tree06c880e91ed388887195e2e4732954716fd6e7ef
parent9ebdb1e057045d2b96f5980c61667cd41914177b (diff)
escape: fix exit code
r == 0 indicates success, not failure
-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;
}