mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
M #-: Fix typo (#894)
This commit is contained in:
parent
35654ec082
commit
3e6d3d53a6
@ -50,7 +50,7 @@ if [ ! -L $DISK_PATH ]; then
|
||||
fi
|
||||
|
||||
# skip if VM is not running
|
||||
if [ "$(virsh -c ${LIBVIRT_URI} domstate one-${VMID} >/dev/null)" != "running" ]; then
|
||||
if [ "$(virsh -c ${LIBVIRT_URI} domstate one-${VMID} 2>/dev/null)" != "running" ]; then
|
||||
echo "VM ${VMID} is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user