Change: Revert an 'if' statement (used for testing)

This commit is contained in:
Jane Doe
2025-10-10 17:51:28 +03:00
parent 79be8ff2cb
commit 447844a90c
+1 -1
View File
@@ -542,7 +542,7 @@ ${magenta}###${nc}------------------------------------${magenta}[ ${bwhite}Machi
hardw_vendor="$(hostnamectl | grep -E "Hardware Vendor" | awk "{print \$3}")" hardw_vendor="$(hostnamectl | grep -E "Hardware Vendor" | awk "{print \$3}")"
machine="$(hostnamectl | grep -Em 1 "Chassis" | awk "{print \$2}")" machine="$(hostnamectl | grep -Em 1 "Chassis" | awk "{print \$2}")"
if [[ "${hypervisor}" == "none" ]]; then # <<<<<<<<<< if [[ "${hypervisor}" != "none" ]]; then
vm vm
vendor="Virtual Machine" vendor="Virtual Machine"
fi fi