summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/machine/ssh.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm
index 997d673e75..fa942169c4 100644
--- a/gnu/machine/ssh.scm
+++ b/gnu/machine/ssh.scm
@@ -270,11 +270,9 @@ not available in the initrd."
 
     (remote-let ((missing remote-exp))
       (unless (null? missing)
-        (raise (condition
-                (&message
-                 (message (format #f (G_ "missing modules for ~a:~{ ~a~}~%")
+        (raise (formatted-message (G_ "missing modules for ~a:~{ ~a~}~%")
                                   (file-system-device fs)
-                                  missing))))))))
+                                  missing)))))
 
   (map missing-modules file-systems))