Also, use this environtment variable to make sure that a local
/etc/e2fsck.conf file will not interfere with the regression test
suite.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
struct sigaction sa;
#endif
char *extended_opts = 0;
+ char *cp;
retval = e2fsck_allocate_context(&ctx);
if (retval)
if (extended_opts)
parse_extended_opts(ctx, extended_opts);
+ if ((cp = getenv("E2FSCK_CONFIG")) != NULL)
+ config_fn[0] = cp;
profile_init(config_fn, &ctx->profile);
if (flush) {
LANG=C
export LANG
unset PAGER
+E2FSCK_CONFIG=/dev/null
+export E2FSCK_CONFIG