1:255.16-alt1
[systemd_ALT.git] / coccinelle / exit-0.cocci
blobff3d965a9d07afc7df30e346305cd8b51bab13a2
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 @@
3 @@
4 - exit(0);
5 + exit(EXIT_SUCCESS);
6 @@
7 @@
8 - _exit(0);
9 + _exit(EXIT_SUCCESS);
12 - exit(1);
13 + exit(EXIT_FAILURE);
16 - _exit(1);
17 + _exit(EXIT_FAILURE);