diff options
author | Michael Marineau <michael.marineau@coreos.com> | 2015-07-01 23:46:42 -0700 |
---|---|---|
committer | Michael Marineau <michael.marineau@coreos.com> | 2015-07-01 23:46:42 -0700 |
commit | ff9c82cc399c37dd3d3fad4ec116b33c9efe70ea (patch) | |
tree | 06c880e91ed388887195e2e4732954716fd6e7ef /src | |
parent | 9ebdb1e057045d2b96f5980c61667cd41914177b (diff) |
escape: fix exit code
r == 0 indicates success, not failure
Diffstat (limited to 'src')
-rw-r--r-- | src/escape/escape.c | 2 |
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; } |