summaryrefslogtreecommitdiffhomepage
path: root/Role/User.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-04-30 12:54:50 -0400
committerJoey Hess <joeyh@joeyh.name>2017-04-30 12:55:28 -0400
commit1bda1faf65c2ccf4e6a0dc349ddbc0f97b67b1da (patch)
tree17fdff934f71bc2fbb643bb3ed96e7da757e5bb5 /Role/User.hs
parent263b547ad43dff0e4948e860ac8d1cfa4f4cf0f1 (diff)
downloaddebug-me-1bda1faf65c2ccf4e6a0dc349ddbc0f97b67b1da.tar.gz
log remote logs to subdir
Diffstat (limited to 'Role/User.hs')
-rw-r--r--Role/User.hs3
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