]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/exit-0.cocci
Merge pull request #10174 from poettering/sd-boot-counter-efi
[thirdparty/systemd.git] / coccinelle / exit-0.cocci
1 @@
2 @@
3 - exit(0);
4 + exit(EXIT_SUCCESS);
5 @@
6 @@
7 - _exit(0);
8 + _exit(EXIT_SUCCESS);
9 @@
10 @@
11 - exit(1);
12 + exit(EXIT_FAILURE);
13 @@
14 @@
15 - _exit(1);
16 + _exit(EXIT_FAILURE);