mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
machine: ssh: Use 'formatted-message'.
* gnu/machine/ssh.scm (machine-check-initrd-modules): Use 'formatted-message' instead of 'format' + '&message'.
This commit is contained in:
@@ -270,11 +270,9 @@ not available in the initrd."
|
|||||||
|
|
||||||
(remote-let ((missing remote-exp))
|
(remote-let ((missing remote-exp))
|
||||||
(unless (null? missing)
|
(unless (null? missing)
|
||||||
(raise (condition
|
(raise (formatted-message (G_ "missing modules for ~a:~{ ~a~}~%")
|
||||||
(&message
|
|
||||||
(message (format #f (G_ "missing modules for ~a:~{ ~a~}~%")
|
|
||||||
(file-system-device fs)
|
(file-system-device fs)
|
||||||
missing))))))))
|
missing)))))
|
||||||
|
|
||||||
(map missing-modules file-systems))
|
(map missing-modules file-systems))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user