diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-11 15:27:00 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-11 16:40:08 -0700 |
commit | 4e0a4c107e4a2ee708e6e7a9f3edf189fe858f14 (patch) | |
tree | b8e51af43f895a98ebd943580c51c1da38151bdf /src/connection/chroot.lisp | |
parent | f2ba47b7ef017a01a4b6c13982ff43a67cc6abd5 (diff) | |
download | consfigurator-4e0a4c107e4a2ee708e6e7a9f3edf189fe858f14.tar.gz |
replace ESCAPE-SH-TOKEN and ESCAPE-SH-COMMAND with new SH-ESCAPE
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/chroot.lisp')
-rw-r--r-- | src/connection/chroot.lisp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/connection/chroot.lisp b/src/connection/chroot.lisp index aeae134..aae0ad5 100644 --- a/src/connection/chroot.lisp +++ b/src/connection/chroot.lisp @@ -145,8 +145,7 @@ should be the mount point, without the chroot's root prefixed.") (defmethod connection-shell-wrap ((connection shell-chroot-connection) cmd) (format nil "chroot ~A sh -c ~A" - (escape-sh-token (unix-namestring (slot-value connection 'into))) - (escape-sh-token cmd))) + (sh-escape (slot-value connection 'into)) (sh-escape cmd))) (defmethod connection-teardown :before ((connection shell-chroot-connection)) (dolist (mount (chroot-mounts connection)) |