chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53290ee
)
escape: fix return code
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 19 Jul 2014 19:35:48 +0000
(15:35 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 19 Jul 2014 19:44:50 +0000
(15:44 -0400)
src/escape/escape.c
patch
|
blob
|
history
diff --git
a/src/escape/escape.c
b/src/escape/escape.c
index ae0c183ecaa57a6c28b433f025d55f7509e8fe9b..ba2fb4789f0b17395de12e52ff80e26983af787f 100644
(file)
--- 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;
}