me
/
guix
Archived
1
0
Fork 0

installer: Remove specific logging code.

* gnu/installer/final.scm (install-system): Remove command logging to
syslog, as this is taken care of by the new facilities.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
master
Josselin Poiret 2022-01-15 14:49:59 +01:00 committed by Mathieu Othacehe
parent 2f7f1d11e9
commit c57ec6ed1e
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 1 additions and 11 deletions

View File

@ -211,17 +211,7 @@ or #f. Return #t on success and #f on failure."
(setenv "PATH" path)
;; If there are any connected clients, assume that we are running
;; installation tests. In that case, dump the standard and error
;; outputs to syslog.
(set! ret
(if (not (null? (current-clients)))
(with-output-to-file "/dev/console"
(lambda ()
(with-error-to-file "/dev/console"
(lambda ()
(run-command install-command)))))
(run-command install-command))))
(set! ret (run-command install-command)))
(lambda ()
;; Restart guix-daemon so that it does no keep the MNT namespace
;; alive.