Pass empty string to linux_cmds if OS is windows

This commit is contained in:
Shreya 2020-06-15 17:42:11 +05:30
parent dfa34e602f
commit 3fe4dd679b
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class ModifyShellStartupFiles(PBA):
if is_windows_os():
super(ModifyShellStartupFiles, self).__init__(name=POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION,
linux_cmd=' '.join(linux_cmds),
linux_cmd='', # windows so won't matter
windows_cmd=windows_cmds)
super(ModifyShellStartupFiles, self).run()
else: