deploy: Write a message upon successful deployment.
authorLudovic Courtès <ludo@gnu.org>
Fri, 20 Mar 2020 13:52:01 +0000 (14:52 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 23 Mar 2020 09:48:17 +0000 (10:48 +0100)
* guix/scripts/deploy.scm (guix-deploy): Write message upon successful
deployment.

guix/scripts/deploy.scm

index d4d07be..f70d41f 100644 (file)
@@ -143,5 +143,7 @@ Perform the deployment specified by FILE.\n"))
                                            (machine-display-name machine))
                                      (run-with-store store (roll-back-machine machine)))
                                    (apply throw (deploy-error-captured-args c))))
-                          (run-with-store store (deploy-machine machine)))))
+                          (run-with-store store (deploy-machine machine))
+                          (info (G_ "successfully deployed ~a~%")
+                                (machine-display-name machine)))))
                     machines))))))