Skip to content

Commit deb8c61

Browse files
committed
Include hint to use stop -f if status isn't "Running"
Signed-off-by: Jan Dubois <[email protected]>
1 parent cdd5b61 commit deb8c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/limactl/stop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func stopAction(cmd *cobra.Command, args []string) error {
6060

6161
func stopInstanceGracefully(inst *store.Instance) error {
6262
if inst.Status != store.StatusRunning {
63-
return fmt.Errorf("expected status %q, got %q", store.StatusRunning, inst.Status)
63+
return fmt.Errorf("expected status %q, got %q (maybe use `limactl stop -f`?)", store.StatusRunning, inst.Status)
6464
}
6565

6666
begin := time.Now() // used for logrus propagation

0 commit comments

Comments
 (0)