aboutsummaryrefslogtreecommitdiff
path: root/src/connection
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection')
-rw-r--r--src/connection/linux-namespace.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection/linux-namespace.lisp b/src/connection/linux-namespace.lisp
index dc913e8..f5bbe19 100644
--- a/src/connection/linux-namespace.lisp
+++ b/src/connection/linux-namespace.lisp
@@ -241,7 +241,8 @@ setgroups(2) is denied in the namespace."
("net" . ,+CLONE_NEWNET+)
("pid" . ,+CLONE_NEWPID+)
("mnt" . ,+CLONE_NEWNS+)
- ("time" . ,+CLONE_NEWTIME+))
+ ,@(and (boundp '+CLONE_NEWTIME+)
+ `(("time" . ,+CLONE_NEWTIME+))))
:test #'equal)
(define-error-retval-cfun () "setns" :int (fd :int) (type :int))