diff --git a/monkey/infection_monkey/post_breach/actions/clear_command_history.py b/monkey/infection_monkey/post_breach/actions/clear_command_history.py index 3ef363121..fbffc9079 100644 --- a/monkey/infection_monkey/post_breach/actions/clear_command_history.py +++ b/monkey/infection_monkey/post_breach/actions/clear_command_history.py @@ -19,7 +19,8 @@ class ClearCommandHistory(PBA): if results: # `self.command` is empty here self.pba_data.append(PostBreachData(self.name, self.command, results)) - return self.pba_data + + return self.pba_data def clear_command_history_pba_list(self): return self.CommandHistoryPBAGenerator().get_clear_command_history_pbas()