diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-16 19:24:47 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-16 20:35:39 -0700 |
commit | b059c44b7ed012c9c1660f22a3fa8db9a966dcf3 (patch) | |
tree | 37aaf58b460447e81b652f37b293362943872580 /src/connection | |
parent | 49602a3696384425b6c305e16e69b2ee9903f4be (diff) | |
download | consfigurator-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.lisp | 2 |
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))) |