summaryrefslogtreecommitdiff
path: root/sbin/unwind/unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/unwind/unwind.c')
-rw-r--r--sbin/unwind/unwind.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/unwind/unwind.c b/sbin/unwind/unwind.c
index d9e499286bd..4baf8bd331e 100644
--- a/sbin/unwind/unwind.c
+++ b/sbin/unwind/unwind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unwind.c,v 1.24 2019/04/30 11:09:11 florian Exp $ */
+/* $OpenBSD: unwind.c,v 1.25 2019/05/03 13:02:00 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -307,9 +307,6 @@ main(int argc, char *argv[])
main_imsg_compose_frontend_fd(IMSG_ROUTESOCK, 0, frontend_routesock);
main_imsg_send_config(main_conf);
- if (unveil(LEASE_DB_DIR, "r") == -1)
- fatal("unveil");
-
if (pledge("stdio inet dns rpath sendfd", NULL) == -1)
fatal("pledge");