summaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-19 00:57:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-19 00:57:40 -0400
commit9fc94d780b7331da13597208ba37a9f4d4ab6531 (patch)
tree6572c007ac50a8086a6cdadf2c80de1fc4cc24ea /Backend
parent1db7d27a451f552dbae8760e83c73b90da8114d5 (diff)
better readProcess
Diffstat (limited to 'Backend')
-rw-r--r--Backend/SHA.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/SHA.hs b/Backend/SHA.hs
index 04b3e362a..bb400a768 100644
--- a/Backend/SHA.hs
+++ b/Backend/SHA.hs
@@ -54,7 +54,7 @@ shaN shasize file filesize = do
case shaCommand shasize filesize of
Left sha -> liftIO $ sha <$> L.readFile file
Right command -> liftIO $ parse command . lines <$>
- readProcess command (toCommand [File file]) ""
+ readProcess command (toCommand [File file])
where
parse command [] = bad command
parse command (l:_)