summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/unwind/captiveportal.c6
-rw-r--r--sbin/unwind/unwind.c3
2 files changed, 2 insertions, 7 deletions
diff --git a/sbin/unwind/captiveportal.c b/sbin/unwind/captiveportal.c
index ac856d54a9c..902c9c957ec 100644
--- a/sbin/unwind/captiveportal.c
+++ b/sbin/unwind/captiveportal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: captiveportal.c,v 1.2 2019/02/07 17:20:35 florian Exp $ */
+/* $OpenBSD: captiveportal.c,v 1.3 2019/02/08 08:21:05 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -302,10 +302,6 @@ captiveportal_dispatch_main(int fd, short event, void *bula)
iev_frontend->events, iev_frontend->handler, iev_frontend);
event_add(&iev_frontend->ev, NULL);
break;
- case IMSG_STARTUP:
- if (pledge("stdio", NULL) == -1)
- fatal("pledge");
- break;
case IMSG_RECONF_CONF:
if (imsg.hdr.len != IMSG_HEADER_SIZE +
sizeof(struct unwind_conf))
diff --git a/sbin/unwind/unwind.c b/sbin/unwind/unwind.c
index 2f4ce08119c..2a99363fda8 100644
--- a/sbin/unwind/unwind.c
+++ b/sbin/unwind/unwind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unwind.c,v 1.11 2019/02/07 17:20:35 florian Exp $ */
+/* $OpenBSD: unwind.c,v 1.12 2019/02/08 08:21:05 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -321,7 +321,6 @@ main(int argc, char *argv[])
main_imsg_compose_frontend(IMSG_STARTUP, 0, NULL, 0);
main_imsg_compose_resolver(IMSG_STARTUP, 0, NULL, 0);
- main_imsg_compose_captiveportal(IMSG_STARTUP, 0, NULL, 0);
event_dispatch();