ensure operator precedence using more parenthesis

pull/32/head
parent 0ff2bef84c
commit e1f0b0fa40
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -4708,7 +4708,7 @@ sub main() {
0 == syscall &SYS_capget, $hdrp, $datap
or error "capget failed: $!";
my ($effective, undef) = unpack "LLLLLL", $datap;
if (($effective >> $CAP_SYS_ADMIN) & 1 != 1) {
if ((($effective >> $CAP_SYS_ADMIN) & 1) != 1) {
warning
"cannot mount because CAP_SYS_ADMIN is not in the effective set";
$options->{canmount} = 0;

Loading…
Cancel
Save