diff mbox series

[bug#40149,5/5] machine: ssh: Better report missing initrd modules.

Message ID 20200320140910.28439-5-ludo@gnu.org
State Accepted
Headers show
Series Assorted 'guix deploy' improvements | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Ludovic Courtès March 20, 2020, 2:09 p.m. UTC
* gnu/machine/ssh.scm (machine-check-initrd-modules): Improve message
upon module mismatch.
---
 gnu/machine/ssh.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm
index 85ecbb6d14..116da86327 100644
--- a/gnu/machine/ssh.scm
+++ b/gnu/machine/ssh.scm
@@ -271,7 +271,7 @@  not available in the initrd."
       (unless (null? missing)
         (raise (condition
                 (&message
-                 (message (format #f (G_ "~a missing modules ~{ ~a~}~%")
+                 (message (format #f (G_ "missing modules for ~a:~{ ~a~}~%")
                                   (file-system-device fs)
                                   missing))))))))