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) | |
download | systemd-ff9c82cc399c37dd3d3fad4ec116b33c9efe70ea.tar.gz systemd-ff9c82cc399c37dd3d3fad4ec116b33c9efe70ea.tar.bz2 systemd-ff9c82cc399c37dd3d3fad4ec116b33c9efe70ea.zip |
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; } |