diff options
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r-- | Biz/Bild.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs index 39d8aaf..eee7eb4 100644 --- a/Biz/Bild.hs +++ b/Biz/Bild.hs @@ -478,7 +478,10 @@ run Proc {..} = do Async.runConcurrently <| Async.Concurrently (puts stdout_) *> (Async.Concurrently <| Conduit.waitForStreamingProcess cph) - else Async.runConcurrently <| Async.Concurrently <| Conduit.waitForStreamingProcess cph + else + Async.runConcurrently + <| Async.Concurrently + <| Conduit.waitForStreamingProcess cph if isFailure exitcode then puts stderr_ >> onFailure >> return exitcode else onSuccess >> return exitcode |