substitute-binary: Add missing newline in download progress report.

Fixes <http://bugs.gnu.org/19313>.
Reported by rekado <rekado@elephly.net>.

* guix/scripts/substitute-binary.scm (guix-substitute-binary)
  <--substitute>: Add 'newline' call.
This commit is contained in:
Ludovic Courtès 2014-12-09 11:24:56 +01:00
parent 6412e58a68
commit 5f742c84d4
1 changed files with 4 additions and 0 deletions

View File

@ -758,6 +758,10 @@ substituter disabled~%")
progress)))
;; Unpack the Nar at INPUT into DESTINATION.
(restore-file input destination)
;; Skip a line after what 'progress-proc' printed.
(newline (current-error-port))
(every (compose zero? cdr waitpid) pids))))
(("--version")
(show-version-and-exit "guix substitute-binary"))