diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-18 22:33:02 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-24 09:39:07 -0700 |
commit | 50915cdb6080aff3f0c29a369efd29aa5e47e5f2 (patch) | |
tree | 059f1a1542c3d0522c1579cf734b3ceda312f162 /src/connection.lisp | |
parent | f4e9170e73cb4bcfa7328422b4ff4f72d1339dd0 (diff) | |
download | consfigurator-50915cdb6080aff3f0c29a369efd29aa5e47e5f2.tar.gz |
UNWIND-PROTECT-IN-PARENT -> UNWIND-PROTECT
No longer needed thanks to f4e9170e73cb4bcfa7328422b4ff4f72d1339dd0.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection.lisp')
-rw-r--r-- | src/connection.lisp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/connection.lisp b/src/connection.lisp index 6ceb837..c2b235d 100644 --- a/src/connection.lisp +++ b/src/connection.lisp @@ -264,8 +264,7 @@ which will be cleaned up when BODY is finished." `(let ((,file (mktemp ,@(and directory-supplied-p `(:directory ,directory)) :connection ,connection))) - (unwind-protect-in-parent - (progn ,@body) + (unwind-protect (progn ,@body) (connection-run ,connection (format nil "rm -f ~A" (escape-sh-token ,file)) nil))))) |