diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-18 14:13:52 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-18 14:13:52 -0400 |
| commit | 473ce8b757c257118c023acf746ee1a6c4c7a463 (patch) | |
| tree | a7df11984789976ad118832af5c07c9c15ac9c9f /src | |
| parent | 824d83400024b6432f3b046554881fe37fff42b7 (diff) | |
Nothing means end of protocol, not protocol error
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/CmdLine.hs | 2 |
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 |
