summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-03-03 15:30:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-03-03 15:30:55 +0000
commit892bffaed3d9656530ece4dce8ca7b4c0f19eb01 (patch)
tree7f02cc48a9800220d8586ed1ea7037049c86feb5 /perl-install
parent16e9b799dff5bc399301f85f1749d2782f2a7152 (diff)
downloaddrakx-backup-do-not-use-892bffaed3d9656530ece4dce8ca7b4c0f19eb01.tar
drakx-backup-do-not-use-892bffaed3d9656530ece4dce8ca7b4c0f19eb01.tar.gz
drakx-backup-do-not-use-892bffaed3d9656530ece4dce8ca7b4c0f19eb01.tar.bz2
drakx-backup-do-not-use-892bffaed3d9656530ece4dce8ca7b4c0f19eb01.tar.xz
drakx-backup-do-not-use-892bffaed3d9656530ece4dce8ca7b4c0f19eb01.zip
simplify (and please perl_checker)
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));
}
}