[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: substitute: Close the progress port after substitute finished.
From: |
??? |
Subject: |
01/01: substitute: Close the progress port after substitute finished. |
Date: |
Thu, 12 Oct 2017 10:31:59 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit abaee53c808fe6df02de2f403dd8904e42d5fede
Author: 宋文武 <address@hidden>
Date: Thu Oct 12 22:27:04 2017 +0800
substitute: Close the progress port after substitute finished.
Fixes <https://bugs.gnu.org/28756>.
* 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 3dcf42d..921a7c6 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.