aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connection/chroot.lisp2
1 files changed, 1 insertions, 1 deletions
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)))))