summaryrefslogtreecommitdiff
path: root/scripts/update-priority.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-priority.pl')
-rw-r--r--scripts/update-priority.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-priority.pl b/scripts/update-priority.pl
index e70688a..84b4933 100644
--- a/scripts/update-priority.pl
+++ b/scripts/update-priority.pl
@@ -39,7 +39,7 @@ open my $pf, '<', $priority_file or die "$priority_file can't be opened";
while (<$pf>) {
chomp;
next if /^#.*/;
- die "Syntax Error \"$_\"" unless /^(\d+)\s+(\S+)\s+(|#.*)$/;
+ die "Syntax Error \"$_\"" unless /^(\d+)\s+(\S+)(|\s+|\s+#.*)$/;
$priority = $1;
$path = $2;
$comment = $3;