1
0
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:
Jan Orel 2021-03-01 12:45:36 +01:00 committed by GitHub
parent 35654ec082
commit 3e6d3d53a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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