Skip to content

Commit

Permalink
Update Renew.sh
Browse files Browse the repository at this point in the history
Deadline math bug
  • Loading branch information
BigMacAdmin committed Dec 19, 2022
1 parent b4f457a commit b60beef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Renew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#set -x

##Renew.sh
scriptVersion="1.0"
scriptVersion="1.0.1"

#Written by Trevor Sysock (aka @BigMacAdmin) at Second Son Consulting Inc.

Expand Down Expand Up @@ -822,7 +822,7 @@ if [ $activeDeferral -ge $current_unix_time ]; then
fi

#Is a Deadline set? If so, check and run logic.
if [ -n "$deadline" ] && [ "$uptime_days" -ge "$uptimeThreshold" ]; then
if [ -n "$deadline" ] && [ "$uptime_days" -ge "$deadline" ]; then
debug_message "Deadline is past"
exec_aggro_mode
process_user_selection
Expand Down

0 comments on commit b60beef

Please sign in to comment.