From 2a865e534992330e5e587b36af39f2c071c3156f Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Fri, 1 Oct 2004 14:12:02 +0000 Subject: dont list commented label --- drakpxelinux.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drakpxelinux.pl') diff --git a/drakpxelinux.pl b/drakpxelinux.pl index 60a251b..85ffc70 100644 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -218,7 +218,7 @@ sub get_information { sub list_label_pxe() { my @labels; foreach (cat_($conf)) { - my ($label) = /label\s(.*)/; + my ($label) = /^label\s(.*)/; $label and push @labels, $label; } @labels; -- cgit v1.2.1