diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 115da665b4..9fc3a10e98 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -804,19 +804,16 @@ static checks." ((reconfigure) (newline) (format #t (G_ "activating system...~%")) - (guard (c ((message-condition? c) - (leave (G_ "failed to reconfigure system:~%~a~%") - (condition-message c)))) - (mbegin %store-monad - (switch-to-system local-eval os) - (mwhen install-bootloader? - (install-bootloader local-eval bootloader bootcfg - #:target (or target "/")) - (return - (info (G_ "bootloader successfully installed on '~a'~%") - (bootloader-configuration-target bootloader)))) - (with-shepherd-error-handling - (upgrade-shepherd-services local-eval os))))) + (mbegin %store-monad + (switch-to-system local-eval os) + (mwhen install-bootloader? + (install-bootloader local-eval bootloader bootcfg + #:target (or target "/")) + (return + (info (G_ "bootloader successfully installed on '~a'~%") + (bootloader-configuration-target bootloader)))) + (with-shepherd-error-handling + (upgrade-shepherd-services local-eval os)))) ((init) (newline) (format #t (G_ "initializing operating system under '~a'...~%")