summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-05-29 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-05-29 02:00:00 +0200
commit91363452f294835fc6661c7b82e73196fab48786 (patch)
treeadee01693b2514b1d861fd59481ac17bc5b5c32a
parent56fdef0e11c975db6bfdcf7bdec29d50433e82aa (diff)
downloadguix-patches-91363452f294835fc6661c7b82e73196fab48786.tar
guix-patches-91363452f294835fc6661c7b82e73196fab48786.tar.gz
guix system: Don't suggest reconfiguration during reconfiguration.
* guix/scripts/system.scm (process-action): Add 'reconfigure to the warning's guard clause. Reported by johnjaye on #guix.
-rw-r--r--guix/scripts/system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 261a1d226d..63e3b9b934 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1273,7 +1274,7 @@ resulting from command-line parsing."
(export-shepherd-graph os (current-output-port)
#:backend (graph-backend)))
(else
- (unless (memq action '(build init))
+ (unless (memq action '(build init reconfigure))
(warn-about-old-distro #:suggested-command
"guix system reconfigure"))