mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-26 10:17:53 +00:00
Merge pull request #11801 from flouthoc/podman-machine-stop-info
machine: Info on successfully stopping qemu machine
This commit is contained in:
commit
f313ff46d6
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue