procd: fix compilation with newer musl
[project/procd.git] / jail / jail.c
index 378a7290b0a56f83469f13d0c8bb9170d09755f8..ce4f50c64a06c516406fafbdc3d2b55fb6ded729 100644 (file)
@@ -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);
                }