aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/interface.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}