]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/exit-0.cocci
Merge pull request #33011 from yuwata/machine-id-setup-follow-ups
[thirdparty/systemd.git] / coccinelle / exit-0.cocci
CommitLineData
64b92d63 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
a45d7127
LP
2@@
3@@
4- exit(0);
5+ exit(EXIT_SUCCESS);
6@@
7@@
8- _exit(0);
9+ _exit(EXIT_SUCCESS);
10@@
11@@
12- exit(1);
13+ exit(EXIT_FAILURE);
14@@
15@@
16- _exit(1);
17+ _exit(EXIT_FAILURE);