diff options
-rw-r--r-- | src/connection/chroot.lisp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/connection/chroot.lisp b/src/connection/chroot.lisp index 21d0cc2..bfbaab5 100644 --- a/src/connection/chroot.lisp +++ b/src/connection/chroot.lisp @@ -112,8 +112,10 @@ should be the mount point, without the chroot's root prefixed.") (datadir-inside (stripln (mrun - "chroot" into - "echo" "${XDG_CACHE_HOME:-$HOME/.cache}/consfigurator/data/"))) + (format + nil + "chroot ~A echo ${XDG_CACHE_HOME:-$HOME/.cache}/consfigurator/data/" + (escape-sh-token (unix-namestring into)))))) (datadir (ensure-pathname (subseq datadir-inside 1) :defaults into* :ensure-absolute t :ensure-directory t))) |