mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
escape: fix exit code
r == 0 indicates success, not failure
This commit is contained in:
parent
9ebdb1e057
commit
ff9c82cc39
@ -236,5 +236,5 @@ int main(int argc, char *argv[]) {
|
|||||||
fputc('\n', stdout);
|
fputc('\n', stdout);
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
return r <= 0 ? EXIT_FAILURE : EXIT_SUCCESS;
|
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user