aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chroot.c
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)
54 execlp(prog, prog, NULL); 54 execlp(prog, prog, NULL);
55#else 55#else
56 shell_main(argc, argv); 56 shell_main(argc, argv);
57 exit (0); 57 return EXIT_SUCCESS;
58#endif 58#endif
59 } 59 }
60 fatalError("cannot execute %s: %s\n", prog, strerror(errno)); 60 fatalError("cannot execute %s: %s\n", prog, strerror(errno));