revert reversion merged from propellor

This commit is contained in:
Joey Hess 2015-04-29 14:15:08 -04:00
parent de3c8ae6d5
commit 38403092ae

View file

@ -124,7 +124,7 @@ withUmask _ a = a
#endif
combineModes :: [FileMode] -> FileMode
combineModes [] = undefined
combineModes [] = 0
combineModes [m] = m
combineModes (m:ms) = foldl unionFileModes m ms