aboutsummaryrefslogtreecommitdiff
path: root/src/connection
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-03-12 15:37:50 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-03-12 15:39:25 -0700
commite4f4d8ebacc5b44cd110d201de5b26c90cc849be (patch)
tree1065b2b39f7e9a4592569851c0598a01e1d25b33 /src/connection
parent2b89cfb8645afb249f6cc21fe3ae588dae5210be (diff)
downloadconsfigurator-e4f4d8ebacc5b44cd110d201de5b26c90cc849be.tar.gz
MAPC-OPEN-{INPUT,OUTPUT}-STREAMS: don't use &rest
This brings these functions closer to MAPC. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection')
-rw-r--r--src/connection/linux-namespace.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection/linux-namespace.lisp b/src/connection/linux-namespace.lisp
index a6f2e0a..398cf63 100644
--- a/src/connection/linux-namespace.lisp
+++ b/src/connection/linux-namespace.lisp
@@ -316,8 +316,8 @@ setgroups(2) is denied in the namespace."
;; If we entered new PID or time namespaces then need to fork
;; so we're actually within them; for simplicity, always fork.
(mapc-open-output-streams
- #'force-output
- *standard-output* *error-output* *debug-io* *terminal-io*)
+ #'force-output (list *debug-io* *terminal-io*
+ *standard-output* *error-output*))
(let ((child (nix:fork)))
(when (plusp child)
(let ((status (nth-value 1 (nix:waitpid child))))