]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "exitfail.h".
authorJim Meyering <jim@meyering.net>
Sun, 4 Jan 2004 20:30:00 +0000 (20:30 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 4 Jan 2004 20:30:00 +0000 (20:30 +0000)
(main): Set exit_failure.

src/chroot.c

index 9a2c913ee3704d95a4f1436fda2f27ad7e154dcc..a1ff57edc270eb1d6f099d92703a4ca707cd90b2 100644 (file)
@@ -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,