From abaee53c808fe6df02de2f403dd8904e42d5fede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Thu, 12 Oct 2017 22:27:04 +0800 Subject: [PATCH] substitute: Close the progress port after substitute finished. Fixes . * guix/scripts/substitute.scm (progress-substitution): Call '(close-port progress)'. --- guix/scripts/substitute.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm index 3dcf42d0d12be6ba0639ede3e9911f65a63a40d9..921a7c6790e6a831760a99c09cc744800686a101 100755 --- a/guix/scripts/substitute.scm +++ b/guix/scripts/substitute.scm @@ -962,6 +962,7 @@ DESTINATION as a nar file. Verify the substitute against ACL." ;; Unpack the Nar at INPUT into DESTINATION. (restore-file input destination) (close-port input) + (close-port progress) ;; Skip a line after what 'progress-reporter/file' printed, and another ;; one to visually separate substitutions.