Commit c0bad738 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent 14dad342
......@@ -1029,7 +1029,7 @@ sub HasActualPrivilege($$)
my ($self, $p) = @_;
return 0
if (!exists($self->{'capabilities'}));
if (!defined($self->{'capabilities'}));
return exists($self->{'capabilities'}->{$p}) ? 1 : 0;
}
......
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