diff --git a/src/interface.c b/src/interface.c index 98943a0e6..5060ea8ee 100644 --- a/src/interface.c +++ b/src/interface.c @@ -321,7 +321,7 @@ static int processBytesRead(Interface * interface, int bytesRead) { } if(ret == COMMAND_RETURN_KILL || ret == COMMAND_RETURN_CLOSE) { - break; + return ret; } }