diff --git a/cmake_targets/autotests/core.py b/cmake_targets/autotests/core.py index 3152c96d7e..8881781144 100644 --- a/cmake_targets/autotests/core.py +++ b/cmake_targets/autotests/core.py @@ -182,7 +182,7 @@ class core: self.wait_quiet() if sudo == True: #command = 'echo \'' + self.password + '\' | sudo -S -E ' + command - command = 'echo \'' + password + '\' | sudo -S -E bash -c \' ' + cmd + '\' ' + command = 'echo \'' + '' + '\' | sudo -S -E bash -c \' ' + command + '\' ' if self.send_cr: log.stats['cmd'] += 1 self.oai.sendline(command)