branch: elpa-release/hyperdrive
commit bbb9a13dff873dffc38523db62331cd8fcadf99a
Author: Joseph Turner <jos...@ushin.org>
Commit: Joseph Turner <jos...@ushin.org>

    Fix: (h/restart) Only start gateway if stop is successful
---
 hyperdrive.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index fca9b2ac42..b46321e061 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -143,7 +143,7 @@ which see."
   (interactive)
   (h/message "Restarting gateway...")
   (with-demoted-errors (h/stop))
-  (with-timeout (10 (h/message "Timed out waiting for gateway to stop"))
+  (with-timeout (10 (h/error "Timed out waiting for gateway to stop"))
     (cl-loop while (h/gateway-live-p)
              do (sleep-for 0.2)))
   (h/start))

Reply via email to