diff --git a/vpn_monitor.sh b/vpn_monitor.sh index 5b386ef..4af81e0 100644 --- a/vpn_monitor.sh +++ b/vpn_monitor.sh @@ -10,6 +10,7 @@ source "$BASE_DIR/functions/restart_service.sh" function is_within_business_hours() { current_hour=$(date +%H) + current_hour=$((10#$current_hour)) if (( current_hour >= 7 && current_hour < 18 )); then return 0 # True else