summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/pxe.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/pxe.pm b/perl-install/network/pxe.pm
index cca17a7c9..91c61c685 100644
--- a/perl-install/network/pxe.pm
+++ b/perl-install/network/pxe.pm
@@ -246,7 +246,7 @@ sub profile_exists {
sub find_next_profile_name {
my ($profiles_conf, $prefix) = @_;
- my $i = undef;
+ my $i;
/^$prefix(\d*)$/ && $1 >= $i and $i = $1 + 1 foreach network::pxe::list_profiles($profiles_conf);
"$prefix$i";
}