mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 21:51:37 +00:00
escape: fix exit code
r == 0 indicates success, not failure
(cherry picked from commit ff9c82cc39)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
f310b206ea
commit
1439e71dce
+1
-1
@@ -232,5 +232,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user