]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: don't print error info when snapshot xml is not changed
authorGuannan Ren <gren@redhat.com>
Tue, 21 Aug 2012 20:37:34 +0000 (04:37 +0800)
committerGuannan Ren <gren@redhat.com>
Wed, 22 Aug 2012 11:15:03 +0000 (19:15 +0800)
commit44574a8789c4e97b0cf4ec020aec1f3927572b3a
treeb0d4e7add271092fcbf15a4a629ff3a86fb36469
parent66473616c81058919afecac574cd52396eea8df2
virsh: don't print error info when snapshot xml is not changed

If xml is not changed, error message is printed.
So check ret value instead of edit variable for error message.
tools/virsh-snapshot.c