From 473ce8b757c257118c023acf746ee1a6c4c7a463 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 Nov 2014 14:13:52 -0400 Subject: Nothing means end of protocol, not protocol error --- src/Propellor/CmdLine.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/CmdLine.hs') 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 -- cgit v1.2.3