mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-26 07:55:58 +01:00
wlr_screencast: fix return value on cmd failure
This commit is contained in:
parent
9f7e59c80a
commit
ebb50839a5
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ static bool wlr_output_chooser(struct xdpw_output_chooser *chooser,
|
||||||
|
|
||||||
if (!wait_chooser(pid)) {
|
if (!wait_chooser(pid)) {
|
||||||
close(chooser_out[0]);
|
close(chooser_out[0]);
|
||||||
goto end;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
FILE *f = fdopen(chooser_out[0], "r");
|
FILE *f = fdopen(chooser_out[0], "r");
|
||||||
|
|
Loading…
Reference in a new issue