guix-commits
[Top][All Lists]
Advanced

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

03/07: services: dhcpd: Use 'invoke/quiet' when validating the config fi


From: guix-commits
Subject: 03/07: services: dhcpd: Use 'invoke/quiet' when validating the config file.
Date: Mon, 16 Mar 2020 09:06:02 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 0f13dd2b7f7675310e4a9bbfd37ee946b9f0dea3
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Mar 16 11:25:57 2020 +0100

    services: dhcpd: Use 'invoke/quiet' when validating the config file.
    
    This avoids the lengthy copyright/config message from dhcpd.
    
    * gnu/services/networking.scm (dhcpd-activation): Use 'invoke/quiet'
    instead of 'invoke'.
---
 gnu/services/networking.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 59b895d..618dd95 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès 
<address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès 
<address@hidden>
 ;;; Copyright © 2015 Mark H Weaver <address@hidden>
 ;;; Copyright © 2016, 2018 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 John Darrington <address@hidden>
@@ -313,7 +313,7 @@ Protocol (DHCP) client, on all the non-loopback network 
interfaces."
              (with-output-to-file #$lease-file
                (lambda _ (display ""))))
            ;; Validate the config.
-           (invoke
+           (invoke/quiet
             #$(file-append package "/sbin/dhcpd") "-t" "-cf"
             #$config-file))))))
 



reply via email to

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