summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 973fa2472..1bc625ad0 100644
--- a/perl-install/network/pxe.pm
+++ b/perl-install/network/pxe.pm
@@ -279,7 +279,7 @@ sub remove_profile {
my ($profiles_conf, $profile) = @_;
foreach my $type (qw(boot install)) {
delete $profiles_conf->{profiles}{$type}{$profile};
- unlink foreach get_pxelinux_profile_path($profile, $type);
+ unlink(get_pxelinux_profile_path($profile, $type));
}
}