mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-18 02:00:16 +01:00
omit from log
This commit is contained in:
@@ -132,6 +132,7 @@ class preFlightsChecks:
|
||||
if log:
|
||||
logging.InstallLog.writeToFile(message)
|
||||
if do_exit:
|
||||
logging.InstallLog.writeToFile(message)
|
||||
sys.exit(code)
|
||||
|
||||
def mountTemp(self):
|
||||
|
||||
@@ -3,7 +3,6 @@ import subprocess
|
||||
import os
|
||||
from mysqlUtilities import mysqlUtilities
|
||||
import installLog as logging
|
||||
import shlex
|
||||
import randomPassword
|
||||
import errno
|
||||
import MySQLdb as mariadb
|
||||
@@ -279,7 +278,7 @@ class InstallCyberPanel:
|
||||
|
||||
command = 'mysql -u root -e "' + passwordCMD + '"'
|
||||
|
||||
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||
install.preFlightsChecks.call(command, self.distro, command, command, 0, 0, os.EX_OSERR)
|
||||
|
||||
def startMariaDB(self):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user