mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-10-26 07:46:35 +01:00
Minor string handling bugs.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
pathimport sys
|
||||
import sys
|
||||
import subprocess
|
||||
import shutil
|
||||
import installLog as logging
|
||||
@@ -211,10 +211,10 @@ class preFlightsChecks:
|
||||
cmd = shlex.split(command)
|
||||
res = subprocess.call(cmd)
|
||||
if res != 0:
|
||||
logging.InstallLog.writeToFile("Unable to download Ubuntu CyberPanel installer! [installCyberPanelRepo]:""
|
||||
" Error #" + str(res))
|
||||
preFlightsChecks.stdOut("Unable to download Ubuntu CyberPanel installer! [installCyberPanelRepo]:""
|
||||
logging.InstallLog.writeToFile("Unable to download Ubuntu CyberPanel installer! [installCyberPanelRepo]:"
|
||||
" Error #" + str(res))
|
||||
preFlightsChecks.stdOut("Unable to download Ubuntu CyberPanel installer! [installCyberPanelRepo]:"
|
||||
" Error #" + str(res))
|
||||
os._exit(os.EX_NOINPUT);
|
||||
|
||||
os.chmod(filename, stat.S_IRWXU | stat.s_S_IRWXG)
|
||||
@@ -224,9 +224,9 @@ class preFlightsChecks:
|
||||
res = subprocess.call(cmd)
|
||||
|
||||
if res != 0:
|
||||
logging.InstallLog.writeToFile("Unable to install Ubuntu CyberPanel! [installCyberPanelRepo]:""
|
||||
logging.InstallLog.writeToFile("Unable to install Ubuntu CyberPanel! [installCyberPanelRepo]:"
|
||||
" Error #" + str(res))
|
||||
preFlightsChecks.stdOut("Unable to install Ubuntu CyberPanel! [installCyberPanelRepo]:""
|
||||
preFlightsChecks.stdOut("Unable to install Ubuntu CyberPanel! [installCyberPanelRepo]:"
|
||||
" Error #" + str(res))
|
||||
os._exit(os.EX_NOINPUT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user