From d1c6bb9a15b5123ec39e675d876e321bf2ebaca9 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Wed, 8 Sep 2021 20:54:18 +0200 Subject: seatd-launch: Fix chmod error goto --- seatd-launch/seatd-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seatd-launch/seatd-launch.c b/seatd-launch/seatd-launch.c index f7ed482..0903fe1 100644 --- a/seatd-launch/seatd-launch.c +++ b/seatd-launch/seatd-launch.c @@ -120,7 +120,7 @@ int main(int argc, char *argv[]) { } if (chmod(sockpath, 0700) == -1) { perror("Could not chmod socket"); - goto error; + goto error_seatd; } // Drop privileges -- cgit v1.2.3