Browse Source

procd: fix compilation with newer musl

An open bracket was missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev 3 years ago
parent
commit
64e9f3a4ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jail/jail.c

+ 1 - 1
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);
 		}