check_dir_perms fix return nil
parent
fe7852b524
commit
8c800b8596
|
@ -240,6 +240,8 @@ module Accounts
|
|||
w = adv.AccessCheck(sd, token, "ACCESS_WRITE", gen_map, len, len, 4, 8)
|
||||
if !w["return"] then return nil end
|
||||
if w["GrantedAccess"] > 0 then result << "W" end
|
||||
|
||||
result
|
||||
end
|
||||
|
||||
end # Accounts
|
||||
|
|
Loading…
Reference in New Issue