mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45: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)) {
|
||||
close(chooser_out[0]);
|
||||
goto end;
|
||||
return false;
|
||||
}
|
||||
|
||||
FILE *f = fdopen(chooser_out[0], "r");
|
||||
|
|
Loading…
Reference in a new issue