mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-05 14:41:43 +09:00
M #-: Fix typo (#894)
This commit is contained in:
1 parent
35654ec082
commit
3e6d3d53a6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user