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>
This commit is contained in:
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

View file

@ -211,17 +211,7 @@ (define (assert-exit x)
(setenv "PATH" path) (setenv "PATH" path)
;; If there are any connected clients, assume that we are running (set! ret (run-command install-command)))
;; 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))))
(lambda () (lambda ()
;; Restart guix-daemon so that it does no keep the MNT namespace ;; Restart guix-daemon so that it does no keep the MNT namespace
;; alive. ;; alive.