Skip to content

Commit

Permalink
fix(NextFpmPort): update default last_id value to 0 when no IDs exist
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Dec 9, 2024
1 parent 8be3653 commit 4aef8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/update-module.d/10fix_NextFpmPort
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ try:
if ids:
last_id = max(ids)
else:
last_id = 10000 # Default to 10 000 if no IDs exist few chances to get 1000 active vhosts
last_id = 0 # Default to 0 if no IDs exist, no vhosts
except:
last_id = 10000 # Default to 10 000 if ecxeption, few chances to get 1000 active vhosts

Expand Down

0 comments on commit 4aef8cc

Please sign in to comment.