1
0
Fork 0

Fix error

This commit is contained in:
Malte Brandy 2020-06-26 19:22:21 +02:00
parent c62a53a866
commit fc5a532cf4
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -14,7 +14,7 @@ let
say [i|Trying to build ${name} config for #{hostname} ...|]
let command = ${commandline}
bracket
(decodeUtf8 <$> mktemp |> captureTrim)
(decodeUtf8 <$> ((mktemp |> captureTrim) :: IO ByteString))
rm
(\logFile -> onException (command &> Append logFile &!> Append logFile) (cat logFile))
say [i|Build of ${name} config for #{hostname} was successful.|]