mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 15:56:11 +01:00
bug fix: enable shell for mailscanner install
This commit is contained in:
@@ -499,7 +499,7 @@ milter_default_action = accept
|
|||||||
cmd = shlex.split(command)
|
cmd = shlex.split(command)
|
||||||
|
|
||||||
with open(mailUtilities.mailScannerInstallLogPath, 'w') as f:
|
with open(mailUtilities.mailScannerInstallLogPath, 'w') as f:
|
||||||
res = subprocess.call(cmd, stdout=f)
|
res = subprocess.call(cmd, stdout=f, shell=True)
|
||||||
|
|
||||||
if res == 1:
|
if res == 1:
|
||||||
writeToFile = open(mailUtilities.mailScannerInstallLogPath, 'a')
|
writeToFile = open(mailUtilities.mailScannerInstallLogPath, 'a')
|
||||||
|
|||||||
Reference in New Issue
Block a user