diff options
-rw-r--r-- | qarsh.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -285,16 +285,14 @@ run_remote_cmd(char *cmdline) &pselect_sigmask); if (nset == 0) { + if (cmd_finished) break; + if (!hbeat(qarsh_hb)) { /* Set our return packet as NULL so we exit * with unknown error. */ qp = NULL; break; } - - if (cmd_finished) { - break; - } continue; } |