aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index e7be3a71d..98943a0e6 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -319,6 +319,11 @@ static int processBytesRead(Interface * interface, int bytesRead) {
interface->bufferLength);
interface->bufferPos = 0;
}
+ if(ret == COMMAND_RETURN_KILL || ret == COMMAND_RETURN_CLOSE)
+ {
+ break;
+ }
+
}
return ret;