diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-04-30 12:54:50 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-04-30 12:55:28 -0400 |
commit | 1bda1faf65c2ccf4e6a0dc349ddbc0f97b67b1da (patch) | |
tree | 17fdff934f71bc2fbb643bb3ed96e7da757e5bb5 /Role/User.hs | |
parent | 263b547ad43dff0e4948e860ac8d1cfa4f4cf0f1 (diff) | |
download | debug-me-1bda1faf65c2ccf4e6a0dc349ddbc0f97b67b1da.tar.gz |
log remote logs to subdir
Diffstat (limited to 'Role/User.hs')
-rw-r--r-- | Role/User.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Role/User.hs b/Role/User.hs index d11c235..1e842d0 100644 --- a/Role/User.hs +++ b/Role/User.hs @@ -44,7 +44,8 @@ run os = fromMaybe (ExitFailure 101) <$> connect putStrLn "Others can connect to this session and help you debug by running:" putStrLn $ " debug-me " ++ show url hFlush stdout - withSessionLogger sid $ go ochan ichan usv controlinput controloutput + withSessionLogger Nothing sid $ + go ochan ichan usv controlinput controloutput go ochan ichan usv controlinput controloutput logger = do (cmd, cmdparams) <- shellCommand os runWithPty cmd cmdparams $ \(p, ph) -> do |