diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-30 16:53:02 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-30 17:56:41 -0700 |
commit | 691c81810e647ef7d780f4f3546ee8856f777b07 (patch) | |
tree | 221a5e43193e6ddaae5fdd86b85ea8373486db10 /src/deployment.lisp | |
parent | e8df647b13c130cc038eef76acf02caabe346b7e (diff) | |
download | consfigurator-691c81810e647ef7d780f4f3546ee8856f777b07.tar.gz |
chroot connections: set up bind mounts and virtual filesystems
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/deployment.lisp')
-rw-r--r-- | src/deployment.lisp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/deployment.lisp b/src/deployment.lisp index 7d1af93..104a810 100644 --- a/src/deployment.lisp +++ b/src/deployment.lisp @@ -38,9 +38,8 @@ preprocessed." (multiple-value-bind (*connection* return) (apply #'establish-connection type remaining args) (if *connection* - (prog1 (if remaining - (connect remaining) - (apply-*host*-propspec)) + (unwind-protect-in-parent + (if remaining (connect remaining) (apply-*host*-propspec)) (connection-teardown *connection*)) return))))) (let ((*host* (preprocess-host host))) |