mirror of
https://github.com/containers/podman.git
synced 2026-06-22 14:39:05 -04:00
Merge pull request #11801 from flouthoc/podman-machine-stop-info
machine: Info on successfully stopping qemu machine
This commit is contained in:
@@ -392,7 +392,12 @@ func (v *MachineVM) Stop(name string, _ machine.StopOptions) error {
|
||||
logrus.Warn(err)
|
||||
}
|
||||
// Remove socket
|
||||
return os.Remove(qemuSocketFile)
|
||||
if err := os.Remove(qemuSocketFile); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Printf("Successfully stopped machine: %s", name)
|
||||
return nil
|
||||
}
|
||||
|
||||
// NewQMPMonitor creates the monitor subsection of our vm
|
||||
|
||||
Reference in New Issue
Block a user