aboutsummaryrefslogtreecommitdiff
path: root/src/connection
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-04-16 19:24:47 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-04-16 20:35:39 -0700
commitb059c44b7ed012c9c1660f22a3fa8db9a966dcf3 (patch)
tree37aaf58b460447e81b652f37b293362943872580 /src/connection
parent49602a3696384425b6c305e16e69b2ee9903f4be (diff)
downloadconsfigurator-b059c44b7ed012c9c1660f22a3fa8db9a966dcf3.tar.gz
:CHROOT.SHELL connection type: cope with pathnames for chroot root
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection')
-rw-r--r--src/connection/chroot/shell.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection/chroot/shell.lisp b/src/connection/chroot/shell.lisp
index 2a73bcd..b2db64f 100644
--- a/src/connection/chroot/shell.lisp
+++ b/src/connection/chroot/shell.lisp
@@ -29,5 +29,5 @@
(defmethod connection-shell-wrap ((connection shell-chroot-connection) cmd)
(format nil "chroot ~A sh -c ~A"
- (escape-sh-token (slot-value connection 'root))
+ (escape-sh-token (unix-namestring (slot-value connection 'root)))
(escape-sh-token cmd)))