1
0
mirror of synced 2026-02-21 06:15:04 +00:00

Don't abort if the file exists

This commit is contained in:
Steve Kemp
2008-11-23 21:11:43 +00:00
parent 97d01456a3
commit 996e7d7e1f

View File

@@ -663,7 +663,7 @@ my $FAIL = 0;
#
# Release number.
#
my $RELEASE = '3.9';
my $RELEASE = '4.0';
@@ -1812,7 +1812,7 @@ EOF
#
my $cfg =
$CONFIG{'output'} . "/" . $CONFIG{'hostname'} . $CONFIG{'extension'};
if ( -e $cfg )
if ( ( -e $cfg ) && ( !$CONFIG{'force'} ) )
{
print "Configuration file already exists; $cfg\n";
print "Aborting\n";