From: Jim Meyering Date: Sun, 4 Jan 2004 20:30:00 +0000 (+0000) Subject: Include "exitfail.h". X-Git-Tag: v5.1.1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81ba476a28b01d9de43b61dbc5d95754927cea13;p=thirdparty%2Fcoreutils.git Include "exitfail.h". (main): Set exit_failure. --- diff --git a/src/chroot.c b/src/chroot.c index 9a2c913ee3..a1ff57edc2 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,