1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

escape: fix return code

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-07-19 15:35:48 -04:00
parent 53290ee39d
commit 91a81d93b5

View File

@ -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;
}