projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: replace exit(-1) with exit(EXIT_FAILURE)
[project/procd.git]
/
initd
/
init.c
diff --git
a/initd/init.c
b/initd/init.c
index b253fb66f36174d7740d8e31c6d0a7cd73a10f99..9b4782608e1a7a9f411eaacfa9b97b2d6b3fe89c 100644
(file)
--- a/
initd/init.c
+++ b/
initd/init.c
@@
-92,7
+92,7
@@
main(int argc, char **argv)
execvp(kmod[0], kmod);
ERROR("Failed to start kmodloader: %m\n");
- exit(
-1
);
+ exit(
EXIT_FAILURE
);
}
if (pid <= 0) {
ERROR("Failed to start kmodloader instance: %m\n");