guix-commits
[Top][All Lists]
Advanced

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

06/18: installer: Remove specific logging code.


From: guix-commits
Subject: 06/18: installer: Remove specific logging code.
Date: Mon, 17 Jan 2022 05:04:52 -0500 (EST)

mothacehe pushed a commit to branch wip-harden-installer
in repository guix.

commit d2d7fcf56495ebd4777a30eda0050ab6c80f5a62
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]