diff mbox series

procd: fix compilation with newer musl

Message ID 20210302000546.2981-1-rosenp@gmail.com
State Accepted
Delegated to: Daniel Golle
Headers show
Series procd: fix compilation with newer musl | expand

Commit Message

Rosen Penev March 2, 2021, 12:05 a.m. UTC
An open bracket was missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 jail/jail.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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