From 46f6bd3d09bba3a2c6081128c0168a5be58d194a Mon Sep 17 00:00:00 2001 From: sang Date: Thu, 5 Dec 2024 11:54:23 +0800 Subject: [PATCH] fix: Fix lxc status check var name --- lxc-iptag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc-iptag b/lxc-iptag index f64e6be..9f0e103 100755 --- a/lxc-iptag +++ b/lxc-iptag @@ -136,7 +136,7 @@ check() { time_since_last_lxc_status_check=$((current_time - last_lxc_status_check_time)) if [[ "${LXC_STATUS_CHECK_INTERVAL}" -gt 0 ]] \ - && [[ "${time_since_last_lxc_status_check}" -ge "${STATUS_CHECK_INTERVAL}" ]]; then + && [[ "${time_since_last_lxc_status_check}" -ge "${LXC_STATUS_CHECK_INTERVAL}" ]]; then echo "Checking lxc status..." last_lxc_status_check_time=${current_time} if lxc_status_changed; then