From 50915cdb6080aff3f0c29a369efd29aa5e47e5f2 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 18 Jul 2021 22:33:02 -0700 Subject: UNWIND-PROTECT-IN-PARENT -> UNWIND-PROTECT No longer needed thanks to f4e9170e73cb4bcfa7328422b4ff4f72d1339dd0. Signed-off-by: Sean Whitton --- src/connection.lisp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/connection.lisp') 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))))) -- cgit v1.2.3