Add initialization for serial variable in installation script

This commit is contained in:
Master3395 2025-09-24 18:20:59 +02:00
parent f9508b1bd2
commit fe6aec4f09
1 changed files with 3 additions and 0 deletions

View File

@ -4570,6 +4570,9 @@ def main():
logging.InstallLog.writeToFile("Starting CyberPanel installation..,10")
preFlightsChecks.stdOut("Starting CyberPanel installation..")
# Initialize serial variable
serial = None
if args.ent is None:
ent = 0
preFlightsChecks.stdOut("OpenLiteSpeed web server will be installed.")