Add initialization for serial variable in installation script

This commit is contained in:
Master3395
2025-09-24 18:20:59 +02:00
parent d3ef1b9c94
commit ed063d204e

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.")