summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoey Hess2014-11-18 14:13:52 -0400
committerJoey Hess2014-11-18 14:13:52 -0400
commit473ce8b757c257118c023acf746ee1a6c4c7a463 (patch)
treea7df11984789976ad118832af5c07c9c15ac9c9f /src
parent824d83400024b6432f3b046554881fe37fff42b7 (diff)
Nothing means end of protocol, not protocol error
Diffstat (limited to 'src')
-rw-r--r--src/Propellor/CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index 47df9f99..21ae1c42 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -222,7 +222,7 @@ spin hn hst = do
void $ tryIO $ forever $
showremote =<< hGetLine fromh
hClose fromh
- Nothing -> error $ "protocol error; received: " ++ show status
+ Nothing -> return ()
loop
user = "root@"++hn