summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chroot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chroot.c b/src/chroot.c
index 9a2c913ee..a1ff57edc 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -23,6 +23,7 @@
#include "system.h"
#include "error.h"
+#include "exitfail.h"
#include "long-options.h"
#include "quote.h"
@@ -80,6 +81,7 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+ exit_failure = CHROOT_FAILURE;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,