guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/20: installer: Remove specific logging code.


From: guix-commits
Subject: 07/20: installer: Remove specific logging code.
Date: Wed, 2 Feb 2022 10:47:05 -0500 (EST)

mothacehe pushed a commit to branch master
in repository guix.

commit c57ec6ed1ee5f2367833c3e11ae7074f114dbf02
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Sat Jan 15 14:49:59 2022 +0100

    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>
---
 gnu/installer/final.scm | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm
index 7d5eca4c7e..63e5073ff4 100644
--- a/gnu/installer/final.scm
+++ b/gnu/installer/final.scm
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]