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