summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irmd/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index f1e0e203..5e58052d 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -2314,8 +2314,13 @@ static void * mainloop(void * o)
goto fail_msg;
}
- if (ret_msg->result == -EPIPE || ret_msg->result == -EIRMD) {
- log_err("Failed to execute command: %d.", ret_msg->result);
+ if (ret_msg->result == -EPIPE) {
+ log_dbg("Terminated command: application closed socket.");
+ goto fail;
+ }
+
+ if (ret_msg->result == -EIRMD) {
+ log_dbg("Terminated command: IRMd not in running state.");
goto fail;
}