From 69cbccf853c865e4cdb2d6a196a1468abc712563 Mon Sep 17 00:00:00 2001 From: Dmitry Badovsky Date: Tue, 28 Oct 2025 12:29:58 +0000 Subject: [PATCH] Update vmcreate.sh --- vmcreate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmcreate.sh b/vmcreate.sh index 59bcb2b..df83201 100644 --- a/vmcreate.sh +++ b/vmcreate.sh @@ -237,7 +237,7 @@ do ip=$(echo -n "$line" | cut -d ';' -f 1) vmid=$(get_vmid "$ip") snippet= - if qm status "$vmid" > /dev/null; then + if qm status "$vmid" &>/dev/null; then echo "VM $vmid exists. Aborting" exit 7 elif [[ -f "$snippet" ]]; then