1
0
mirror of synced 2026-01-18 08:52:38 +00:00

xen-resize-guest: Don't read config file if it doesn't exist as xen-create-image does

This commit is contained in:
Axel Beckert 2010-07-16 17:30:08 +02:00
parent cc64623752
commit b7c1cd9d8a

View File

@ -301,6 +301,9 @@ sub readConfigurationFile
{
my ($file) = (@_);
# Don't read the file if it doesn't exist.
return if ( !-e $file );
open( FILE, "<", $file ) or die "Cannot read file '$file' - $!";
my $line = "";