summaryrefslogtreecommitdiff
path: root/mode-watch.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mode-watch.lua')
-rw-r--r--mode-watch.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/mode-watch.lua b/mode-watch.lua
index 26ef870..99cc25e 100644
--- a/mode-watch.lua
+++ b/mode-watch.lua
@@ -104,10 +104,6 @@ function main_loop(opt)
else
if(input == cmdfd) then
return_value = cmd.recv_data(process_cmd)
- if(return_value == 2) then
- log.printf(log.ERROR, "connection to server lost, exitting")
- return_value = -1
- end
if(return_value ~= 0) then break end
else
log.printf(log.ERROR, "select returned invalid handle??")