mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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.
This commit is contained in:
parent
56fdef0e11
commit
91363452f2
1 changed files with 2 additions and 1 deletions
|
@ -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 @@ (define (graph-backend)
|
|||
(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"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue