aboutsummaryrefslogtreecommitdiff
path: root/Utility/FileMode.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-29 14:15:08 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-29 14:15:08 -0400
commit673b7e0e40ca2cd7360ad89273d8c47c9006cc70 (patch)
tree1430d0ee6c0c28f2f50ae0eae63deb65f44b2c89 /Utility/FileMode.hs
parent1dfe571887a11dac1bda4460d6e7a90fd6ea1216 (diff)
revert reversion merged from propellor
Diffstat (limited to 'Utility/FileMode.hs')
-rw-r--r--Utility/FileMode.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/FileMode.hs b/Utility/FileMode.hs
index 672a2fa12..201b8451c 100644
--- a/Utility/FileMode.hs
+++ b/Utility/FileMode.hs
@@ -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