diff --git a/proxmox/snapshot.go b/proxmox/snapshot.go index a77a6727..704ed02d 100644 --- a/proxmox/snapshot.go +++ b/proxmox/snapshot.go @@ -173,6 +173,9 @@ func (snap SnapshotName) Rollback(c *Client, vmr *VmRef) (exitStatus string, err if err != nil { return } + if err = snap.Validate(); err != nil { + return + } // TODO check if snapshot exists return snap.Rollback_Unsafe(c, vmr) }