diff --git a/common/command.py b/common/command.py index e8f4149046247f7fdfe2596cc2986a5d9dfcc5fe..18c315d59d60b0f33ac978148afa591a6ef2f6c0 100644 --- a/common/command.py +++ b/common/command.py @@ -56,7 +56,7 @@ class Command: if check_cmd[0] == 'cat' or check_cmd[0] == 'ls': if not os.path.exists(check_cmd[1]): Logger().error("{} does not exist, cmd_run {} unable to execute".format(check_cmd[1], cmd)) - return command_result + return command_result if cmd == "top -b -n 3": env = os.environ.copy()