seatd-launch: Fix chmod error goto

This commit is contained in:
Kenny Levinsen 2021-09-08 20:54:18 +02:00
parent e7343ca96f
commit d1c6bb9a15

View file

@ -120,7 +120,7 @@ int main(int argc, char *argv[]) {
} }
if (chmod(sockpath, 0700) == -1) { if (chmod(sockpath, 0700) == -1) {
perror("Could not chmod socket"); perror("Could not chmod socket");
goto error; goto error_seatd;
} }
// Drop privileges // Drop privileges