diff --git a/BasiliskII/src/Unix/rpc_unix.cpp b/BasiliskII/src/Unix/rpc_unix.cpp index eeb65a54..9eb3c22e 100644 --- a/BasiliskII/src/Unix/rpc_unix.cpp +++ b/BasiliskII/src/Unix/rpc_unix.cpp @@ -960,7 +960,7 @@ int rpc_dispatch(rpc_connection_t *connection) rpc_message_init(&message, connection); int32_t method, value, ret = RPC_MESSAGE_FAILURE; - if (rpc_message_recv_int32(&message, &value) != RPC_ERROR_NO_ERROR && + if (rpc_message_recv_int32(&message, &value) != RPC_ERROR_NO_ERROR || value != RPC_MESSAGE_START) return ret;