summaryrefslogtreecommitdiff
path: root/src/Command/Log.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command/Log.hs')
-rw-r--r--src/Command/Log.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/Log.hs b/src/Command/Log.hs
index 5d8c9d4..25bfc06 100644
--- a/src/Command/Log.hs
+++ b/src/Command/Log.hs
@@ -37,7 +37,7 @@ instance Command LogCommand where
cmdLog :: LogCommand -> CommandExec ()
cmdLog (LogCommand ref) = do
einput <- getEvalInput
- jid <- either (tfail . textEvalError) return =<<
+ jid <- either (tfail . textEvalError) (return . jobId) =<<
liftIO (runEval (evalJobReference ref) einput)
output <- getOutput
storageDir <- getStorageDir