Browse Source

log command output on return code 0

develop
Prabuddha Chakraborty 9 years ago
parent
commit
975d4c7519
  1. 2
      ee/core/shellexec.py

2
ee/core/shellexec.py

@ -29,6 +29,8 @@ class EEShellExec():
"replace"))
if proc.returncode == 0:
Log.debug(self, "Command Output: {0}, \nCommand Error: {1}"
.format(cmd_stdout, cmd_stderr))
return True
else:
Log.debug(self, "Command Output: {0}, \nCommand Error: {1}"

Loading…
Cancel
Save