diff --git a/switch_root.c b/switch_root.c index ede292e..318d08c 100644 --- 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; }