From 57b0005d90751e43bcd552ecf3b26309e282cbe8 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 19 Jul 2024 22:55:31 +0200 Subject: Fail with exit status 50 if portal setup fails --- src/capture/portal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/capture/portal.c b/src/capture/portal.c index aa73cd0..9ac30ad 100644 --- a/src/capture/portal.c +++ b/src/capture/portal.c @@ -238,7 +238,7 @@ static int gsr_capture_portal_start(gsr_capture *cap, AVCodecContext *video_code uint32_t pipewire_node = 0; if(!gsr_capture_portal_setup_dbus(self, &pipewire_fd, &pipewire_node)) { gsr_capture_portal_stop(self); - return -1; + return 50; } fprintf(stderr, "gsr info: gsr_capture_portal_start: setting up pipewire\n"); -- cgit v1.2.3