fix(proxmox): commented 'non-errors' on script

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-09-07 21:24:31 +02:00
parent 9573cbfcad
commit 1636247734

View File

@@ -65,11 +65,11 @@ restart_vm() {
} }
# Main execution # Main execution
log_message "Starting monitoring of VM $VM_ID on port $PORT..." # log_message "Starting monitoring of VM $VM_ID on port $PORT..."
# Check if port 22 is open # Check if port 22 is open
if ! check_port; then if ! check_port; then
restart_vm restart_vm
else else
log_message "Port $PORT is reachable. VM is running normally." # log_message "Port $PORT is reachable. VM is running normally."
fi fi