X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=installcheck%2FAmanda_Config.pl;h=362dcb5cdbe7e42b222a2c9eabc59e2c6eecde48;hb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;hp=4a00337a70bfbfd24187b56b8ade3b1abab4e589;hpb=c6f0a88c567f8536c498f554285aed1f8150da18;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>;