remove redundant showOutput calls.

The meter code does that too.
This commit is contained in:
Joey Hess 2012-11-25 16:13:06 -04:00
parent 59da54f763
commit 356120652f

View file

@ -126,7 +126,6 @@ storeHelper r k feeder = go =<< glacierEnv c u
] ]
go Nothing = return False go Nothing = return False
go (Just e) = do go (Just e) = do
showOutput
let p = (proc "glacier" (toCommand params)) { env = Just e } let p = (proc "glacier" (toCommand params)) { env = Just e }
liftIO $ catchBoolIO $ liftIO $ catchBoolIO $
withHandle StdinHandle createProcessSuccess p $ \h -> do withHandle StdinHandle createProcessSuccess p $ \h -> do
@ -147,7 +146,6 @@ retrieveHelper r k reader = go =<< glacierEnv c u
] ]
go Nothing = return False go Nothing = return False
go (Just e) = do go (Just e) = do
showOutput
let p = (proc "glacier" (toCommand params)) { env = Just e } let p = (proc "glacier" (toCommand params)) { env = Just e }
ok <- liftIO $ catchBoolIO $ ok <- liftIO $ catchBoolIO $
withHandle StdoutHandle createProcessSuccess p $ \h -> withHandle StdoutHandle createProcessSuccess p $ \h ->