typo
This commit is contained in:
parent
5a4733c5a6
commit
9c7f168e89
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ isContentWritePermOk file = ifM crippledFileSystem
|
||||||
go AllShared = want writeModes
|
go AllShared = want writeModes
|
||||||
go _ = return True
|
go _ = return True
|
||||||
want wantmode = do
|
want wantmode = do
|
||||||
liftIO $ catchMaybeIO $ fileMode <$> getFileStatus file
|
mmode <- liftIO $ catchMaybeIO $ fileMode <$> getFileStatus file
|
||||||
return $ case mmode of
|
return $ case mmode of
|
||||||
Nothing -> True
|
Nothing -> True
|
||||||
Just havemode -> havemode == combineModes (havemode:wantmode)
|
Just havemode -> havemode == combineModes (havemode:wantmode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue