mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
bug fix: inc backups
This commit is contained in:
@@ -190,8 +190,7 @@ class ProcessUtilities(multi.Thread):
|
|||||||
sock = ret[0]
|
sock = ret[0]
|
||||||
|
|
||||||
if user == None:
|
if user == None:
|
||||||
|
if command.find('export') > -1:
|
||||||
if command.find('export') > -1 and ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu:
|
|
||||||
pass
|
pass
|
||||||
elif command.find('sudo') == -1:
|
elif command.find('sudo') == -1:
|
||||||
command = 'sudo %s' % (command)
|
command = 'sudo %s' % (command)
|
||||||
|
|||||||
Reference in New Issue
Block a user