Skip to content

Commit

Permalink
Updated NextDNS automated script
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCakeX committed Oct 21, 2023
1 parent 46cb628 commit c9570ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ catch {
}
# if it's not the first time error is thrown
else {
if ($global:WaitSeconds -ge 15) {
if ($global:WaitSeconds -ge 20) {
$global:WaitSeconds = 3
}
else {
Expand All @@ -259,7 +259,7 @@ catch {
}

Write-Warning -Message "Restarting the script in $global:WaitSeconds seconds..."

Start-Sleep -Seconds $global:WaitSeconds

# Restart using & operator - Runs the script again using its path
Expand Down

0 comments on commit c9570ef

Please sign in to comment.