Abort if the generated configuration file already exists.
(Closes: #499475)
This commit is contained in:
parent
290a30b1b1
commit
455c16cefe
@ -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
3
debian/changelog
vendored
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user