aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-05-31 17:11:11 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-05-31 17:28:43 -0700
commit18d47e85101594f0baa8151dccf744f987dce4f4 (patch)
treecc6651b10e609e967ff536c90cdbd8c232aebea7
parent4b8a1de146cc41b69e4a11ad6179587628c3b79f (diff)
downloadconsfigurator-18d47e85101594f0baa8151dccf744f987dce4f4.tar.gz
restore STRIPLN when finding the datadir inside chroot
Accidentally removed in b914693a33ffcf0764ea9bc87bcc573e5ddf9943. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-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)))))