procd: fix compilation with newer musl
authorRosen Penev <rosenp@gmail.com>
Tue, 2 Mar 2021 00:05:46 +0000 (16:05 -0800)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 2 Mar 2021 00:29:07 +0000 (00:29 +0000)
An open bracket was missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
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);
                }