From 892bffaed3d9656530ece4dce8ca7b4c0f19eb01 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 3 Mar 2006 15:30:55 +0000 Subject: simplify (and please perl_checker) --- perl-install/network/pxe.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- cgit v1.2.1