diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-23 18:11:38 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-23 18:11:38 +0200 |
commit | 7d719a44c6ce76ecfc05287d0cbb2b36e84b4ca6 (patch) | |
tree | bcc1d7a857e6b9efad44cfed750ba46d5decc785 /kms | |
parent | 91485ba75d5a598eda5a041505c7c65648297e32 (diff) |
Fix hdr capture causing crash when in replay mode
Diffstat (limited to 'kms')
-rw-r--r-- | kms/client/kms_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c index d3e68dd..80bb9cd 100644 --- a/kms/client/kms_client.c +++ b/kms/client/kms_client.c @@ -103,7 +103,7 @@ static int recv_msg_from_server(int server_pid, int server_fd, gsr_kms_response int status = 0; int wait_result = waitpid(server_pid, &status, WNOHANG); if(wait_result != 0) { - res = -1; + res = 0; break; } usleep(1000); |