aboutsummaryrefslogtreecommitdiff
path: root/initd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'initd/main.c')
-rw-r--r--initd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/main.c b/initd/main.c
index 8adbe2f..2cacf12 100644
--- a/initd/main.c
+++ b/initd/main.c
@@ -207,7 +207,7 @@ int main(void)
runlevel = target;
if (target == TGT_BOOT && ti_sock == -1) {
- ti_sock = mksock();
+ ti_sock = mksock(INITSOCK, SOCK_FLAG_ROOT_ONLY);
if (ti_sock != -1) {
pfd[1].fd = ti_sock;
pfd[1].events = POLLIN;