Skip to content

Commit

Permalink
Fix ruby syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
jnavila committed Nov 1, 2012
1 parent 4407117 commit b3cd632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acl/update
Expand Up @@ -49,8 +49,8 @@ def check_directory_perms
next if path.size == 0 next if path.size == 0
has_file_access = false has_file_access = false
access[$user].each do |access_path| access[$user].each do |access_path|
if !access_path # user has access to everything if !access_path || # user has access to everything
|| (path.index(access_path) == 0) # access to this path (path.index(access_path) == 0) # access to this path
has_file_access = true has_file_access = true
end end
end end
Expand Down

0 comments on commit b3cd632

Please sign in to comment.