diff --git a/src/screencast/wlr_screencast.c b/src/screencast/wlr_screencast.c index 45bea73..a3b0637 100644 --- a/src/screencast/wlr_screencast.c +++ b/src/screencast/wlr_screencast.c @@ -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");