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

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");