wlr_screencast: fix return value on cmd failure

This commit is contained in:
Stefano Ragni 2021-04-18 19:55:19 +02:00
parent 9f7e59c80a
commit ebb50839a5
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ static bool wlr_output_chooser(struct xdpw_output_chooser *chooser,
if (!wait_chooser(pid)) {
close(chooser_out[0]);
goto end;
return false;
}
FILE *f = fdopen(chooser_out[0], "r");