aboutsummaryrefslogtreecommitdiff
path: root/src/connection
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-04-02 13:46:54 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-04-02 13:46:54 -0700
commit37c8017ed1249b4e34634b7df691b82f62e6361b (patch)
tree7b15e3a01782b43995c0a50a89a9119300c4b033 /src/connection
parentcbe56ebc323afa15d5aa2e1f918e01d660c6f322 (diff)
downloadconsfigurator-37c8017ed1249b4e34634b7df691b82f62e6361b.tar.gz
rename SYSTEMD-{-USER -> USER-INSTANCE-ARGS} & stop using &rest
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection')
-rw-r--r--src/connection/linux-namespace.lisp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/connection/linux-namespace.lisp b/src/connection/linux-namespace.lisp
index e4a72ef..7693330 100644
--- a/src/connection/linux-namespace.lisp
+++ b/src/connection/linux-namespace.lisp
@@ -129,8 +129,9 @@
"--" "sh" "-c" ,cmd)))
(if (and owner (not (string= owner (get-connattr :remote-user))))
(with-connattrs (:remote-uid owner-uid)
- (list* "runuser" "-u" owner "--" (apply #'systemd--user args)))
- (apply #'systemd--user args)))))
+ (list* "runuser" "-u" owner "--"
+ (systemd-user-instance-args args)))
+ (systemd-user-instance-args args)))))
(defmethod establish-connection
((type (eql :lxc-unpriv-attach)) remaining &key owner name pid uid gid)