summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drakpxelinux.pl2
1 files changed, 1 insertions, 1 deletions
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;