fix führende Null
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user