mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-06-14 23:32:30 +02:00
retain current content
This commit is contained in:
@@ -71,7 +71,7 @@ class CPBackupsV2:
|
||||
ProcessUtilities.executioner(command, self.website.externalApp)
|
||||
|
||||
command = f'cat {self.ConfigFilePath}'
|
||||
CurrentContent = ProcessUtilities.outputExecutioner(command)
|
||||
CurrentContent = ProcessUtilities.outputExecutioner(command, self.website.externalApp)
|
||||
|
||||
if CurrentContent.find('No such file or directory'):
|
||||
CurrentContent = ''
|
||||
|
||||
Reference in New Issue
Block a user