mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 11:14:23 +00:00
Fix rehash command. adding security to force quite defender when a asyncio is blocking the system.
This commit is contained in:
@@ -227,6 +227,7 @@ async def coro_psutil_scan(uplink: 'Defender'):
|
||||
for user in uplink.Schemas.DB_PSUTIL_USERS:
|
||||
result = await uplink.ctx.Base.create_thread_io(uplink.mod_utils.action_scan_client_with_psutil, uplink, user)
|
||||
list_to_remove.append(user)
|
||||
|
||||
if not result:
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user