summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 542577a3d..b78715bf3 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -457,7 +457,8 @@ sub read_raw_net_conf {
my ($suffix) = @_;
my $dir = "$::prefix/etc/sysconfig/network-scripts";
# $suffix = $suffix ? ".$suffix" : '';
- rename "$dir/draknet$suffix", "$dir/drakconnect$suffix";
+my $file = "$dir/draknet$suffix";
+ rename $file, "$dir/drakconnect$suffix" if -e $file;
getVarsFromSh("$dir/drakconnect_conf");
}