1
0
mirror of synced 2026-01-19 01:07:28 +00:00

Abort if the generated configuration file already exists.

(Closes: #499475)
This commit is contained in:
Steve Kemp 2008-10-13 19:18:05 +01:00
parent 290a30b1b1
commit 455c16cefe
2 changed files with 15 additions and 0 deletions

View File

@ -1802,6 +1802,18 @@ EOF
exit 127;
}
#
# Already present?
#
my $cfg =
$CONFIG{'output'} . "/" . $CONFIG{'hostname'} . $CONFIG{'extension'};
if ( -e $cfg )
{
print "Configuration file already exists; $cfg\n";
print "Aborting\n";
exit 127;
}
}

3
debian/changelog vendored
View File

@ -2,6 +2,9 @@ xen-tools (3.9-4) unstable; urgency=medium
- Record the ARCH for RPM-based distros.
(Closes: #475125)
- Abort if the generated configuration file already exists.
(Closes: #499475)
xen-tools (3.9-3) unstable; urgency=medium