aboutsummaryrefslogtreecommitdiff
path: root/seatd-launch/seatd-launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd-launch/seatd-launch.c')
-rw-r--r--seatd-launch/seatd-launch.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/seatd-launch/seatd-launch.c b/seatd-launch/seatd-launch.c
index 69ca86a..0075efb 100644
--- a/seatd-launch/seatd-launch.c
+++ b/seatd-launch/seatd-launch.c
@@ -53,8 +53,6 @@ int main(int argc, char *argv[]) {
sockpath = sockbuf;
}
- unlink(sockpath);
-
int fds[2];
if (pipe(fds) == -1) {
perror("Could not create pipe");
@@ -170,9 +168,6 @@ int main(int argc, char *argv[]) {
}
}
- if (unlink(sockpath) != 0) {
- perror("Could not unlink socket");
- }
if (kill(seatd_child, SIGTERM) != 0) {
perror("Could not kill seatd");
}
@@ -186,7 +181,6 @@ int main(int argc, char *argv[]) {
}
error_seatd:
- unlink(sockpath);
kill(seatd_child, SIGTERM);
error:
return 1;