From abaee53c808fe6df02de2f403dd8904e42d5fede Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Thu, 12 Oct 2017 22:27:04 +0800 Subject: 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(+) (limited to 'guix/scripts') diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm index 3dcf42d0d1..921a7c6790 100755 --- a/guix/scripts/substitute.scm +++ b/guix/scripts/substitute.scm @@ -962,6 +962,7 @@ (define* (process-substitution store-item destination ;; 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. -- cgit v1.2.3