kvm-qemu: Fix overriding tenant

This commit is contained in:
deajan 2024-12-25 18:01:33 +01:00
parent 4499655d07
commit 681292e141

View file

@ -108,7 +108,7 @@ function create_snapshot {
function get_tenant {
local vm="${1}"
if [ -z "${TENANT_OVERRIDE}" ]; then
if [ -n "${TENANT_OVERRIDE}" ]; then
echo "${TENANT_OVERRIDE}"
return
fi