X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=installcheck%2FAmanda_Config.pl;fp=installcheck%2FAmanda_Config.pl;h=362dcb5cdbe7e42b222a2c9eabc59e2c6eecde48;hb=109540caa4e37a3663b3dcfb9a205b9609e3f561;hp=4a00337a70bfbfd24187b56b8ade3b1abab4e589;hpb=4c9eba1feb11adf189bceb4001c425e641f0b56a;p=debian%2Famanda diff --git a/installcheck/Amanda_Config.pl b/installcheck/Amanda_Config.pl index 4a00337..362dcb5 100644 --- a/installcheck/Amanda_Config.pl +++ b/installcheck/Amanda_Config.pl @@ -1,4 +1,4 @@ -# Copyright (c) 2007, 2008, 2009, 2010 Zmanda, Inc. All Rights Reserved. +# Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 as published @@ -602,7 +602,7 @@ is($error_level, $CFGERR_ERRORS, "bogus config overwrite flagged as an error"); my $pid = open(my $kid, "-|"); die "Can't fork: $!" unless defined($pid); if (!$pid) { - Amanda::Config::dump_configuration(); + Amanda::Config::dump_configuration(1, 0); exit 1; } my $dump_first_line = <$kid>;