We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f406ca commit 976ccf4Copy full SHA for 976ccf4
intelmq/bin/intelmqctl.py
@@ -578,11 +578,13 @@ def botnet_stop(self, group=None):
578
# give the bots some time to terminate
579
time.sleep(sleep_time)
580
# update the botnet_status
581
+ for bot_id in stopped_but_still_running_bots:
582
+ botnet_status[bot_id] = self.bot_status(bot_id)[1]
583
# only keep bots in the list which are not stopped already
584
stopped_but_still_running_bots = [
585
bot_id
586
for bot_id in stopped_but_still_running_bots
- if self.bot_status(bot_id)[1] not in ['stopped', 'disabled']
587
+ if botnet_status[bot_id] not in ['stopped', 'disabled']
588
]
589
590
# check if all bots are stopped -> no need to wait further
0 commit comments