summaryrefslogtreecommitdiffhomepage
path: root/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'chroot.c')
-rw-r--r--chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chroot.c b/chroot.c
index f0a298104..f279af18d 100644
--- a/chroot.c
+++ b/chroot.c
@@ -54,7 +54,7 @@ int chroot_main(int argc, char **argv)
execlp(prog, prog, NULL);
#else
shell_main(argc, argv);
- exit (0);
+ return EXIT_SUCCESS;
#endif
}
fatalError("cannot execute %s: %s\n", prog, strerror(errno));