From 3e6d3d53a6b727ed0e3924f20e5c870d104f2572 Mon Sep 17 00:00:00 2001 From: Jan Orel Date: Mon, 1 Mar 2021 12:45:36 +0100 Subject: [PATCH] M #-: Fix typo (#894) --- src/tm_mad/ssh/recovery_snap_create_live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tm_mad/ssh/recovery_snap_create_live b/src/tm_mad/ssh/recovery_snap_create_live index df8b1025e0..ec4652b302 100755 --- a/src/tm_mad/ssh/recovery_snap_create_live +++ b/src/tm_mad/ssh/recovery_snap_create_live @@ -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