Skip to content

Commit c751ede

Browse files
committed
Don't display rpc_access_denied because of too much output of large ranges
1 parent 48a7997 commit c751ede

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/modules/sccm-recon6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def on_login(self, context, connection):
4747
self.context.log.fail("No site Database found")
4848
except DCERPCException as e:
4949
if "rpc_s_access_denied" in str(e):
50-
self.context.log.fail(f"Probably not a primary site server or a distribution point: {e}")
50+
self.context.log.info(f"Probably not a primary site server or a distribution point: {e}")
5151
else:
5252
self.context.log.fail(f"Unexpected error: {e}")
5353

0 commit comments

Comments
 (0)