Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/chroot.c')
-rw-r--r--coreutils/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c
index f0a298104..f279af18d 100644
--- a/coreutils/chroot.c
+++ b/coreutils/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));