From 18d47e85101594f0baa8151dccf744f987dce4f4 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 31 May 2021 17:11:11 -0700 Subject: restore STRIPLN when finding the datadir inside chroot Accidentally removed in b914693a33ffcf0764ea9bc87bcc573e5ddf9943. Signed-off-by: Sean Whitton --- src/connection/chroot.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connection') diff --git a/src/connection/chroot.lisp b/src/connection/chroot.lisp index 180858c..f0a4c73 100644 --- a/src/connection/chroot.lisp +++ b/src/connection/chroot.lisp @@ -132,7 +132,7 @@ should be the mount point, without the chroot's root prefixed.") (setq connection (change-class connection 'chroot.fork-connection)) (setf (slot-value connection 'datadir) (ensure-pathname - (subseq datadir-inside 1) + (stripln (subseq datadir-inside 1)) :defaults into* :ensure-absolute t :ensure-directory t)) (unwind-protect-in-parent (continue-connection connection remaining) (connection-teardown connection))))) -- cgit v1.2.3