Fix *VERSION handling.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-08-02 16:44:02 -07:00
parent 21770a89d6
commit 82c057d1ed

View File

@ -3848,7 +3848,7 @@ sub read_capabilities() {
$val = $val =~ /^\"([^\"]*)\"$/ ? $1 : $val;
$capabilities{$var} = $val ne '';
$capabilities{$var} = $var =~ /VERSION$/ ? $val : $val ne '';
} else {
fatal_error "Unrecognized capabilities entry";
}