summaryrefslogtreecommitdiff
path: root/jail
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-03-01 16:05:46 -0800
committerDaniel Golle <daniel@makrotopia.org>2021-03-02 00:29:07 +0000
commit64e9f3a4ef61b53f72d0c9cf03da109e43b6700e (patch)
tree311422a773ebb348e67e9efb24b62a49011af8c8 /jail
parent37eed131e9967a35f47bacb3437a9d3c8a57b3f4 (diff)
downloadprocd-64e9f3a4ef61b53f72d0c9cf03da109e43b6700e.tar.gz
procd: fix compilation with newer musl
An open bracket was missing. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'jail')
-rw-r--r--jail/jail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jail/jail.c b/jail/jail.c
index 378a729..ce4f50c 100644
--- a/jail/jail.c
+++ b/jail/jail.c
@@ -2804,7 +2804,7 @@ static void post_main(struct uloop_timeout *t)
close(pidns_fd);
}
#ifdef CLONE_NEWTIME
- if (timens_fd != -1)
+ if (timens_fd != -1) {
setns(timens_fd, CLONE_NEWTIME);
close(timens_fd);
}