Commit dcbb8228 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Tim Gardner

UBUNTU: [Debian] config-check -- improve syntax diagnostics

Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent b5a91fa2
...@@ -63,6 +63,7 @@ while (<ANNOTATIONS>) { ...@@ -63,6 +63,7 @@ while (<ANNOTATIONS>) {
if ($value =~ /^{/) { if ($value =~ /^{/) {
$value =~ s/:/=>/g; $value =~ s/:/=>/g;
$policy = eval($value); $policy = eval($value);
warn "$@" if ($@);
} else { } else {
$policy = undef; $policy = undef;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment