commit 38a0ce084fb402a96802fc04d89680c30fac946b
parent 483839d87687b9211b41226f6f59122a4bf33b47
Author: sin <sin@2f30.org>
Date: Mon, 14 Apr 2014 09:46:39 +0100
Remember to return EXIT_FAILURE from main()
Doesn't matter in this case but gets rid of compiler warnings.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/switch_root.c b/switch_root.c
@@ -134,4 +134,5 @@ main(int argc, char **argv)
/* execute init */
execv(argv[1], argv);
eprintf("can't execute '%s'\n", argv[1]);
+ return EXIT_FAILURE;
}