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