summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-04 20:30:00 +0000
committerJim Meyering <jim@meyering.net>2004-01-04 20:30:00 +0000
commit81ba476a28b01d9de43b61dbc5d95754927cea13 (patch)
tree6de8fd491f679524f4883e369fd3f1a5c6ce0bdb /src
parentfd1e65f0a1e25aff9e0d0c152419fffa51163320 (diff)
downloadcoreutils-81ba476a28b01d9de43b61dbc5d95754927cea13.tar.xz
Include "exitfail.h".
(main): Set exit_failure.
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,