Skip to content

Commit

Permalink
Merge pull request #98 from Pennyw0rth/neff-bugfixes
Browse files Browse the repository at this point in the history
Fix import error on windows
  • Loading branch information
Marshall-Hallenbeck authored Oct 31, 2023
2 parents 9736bd2 + 079c224 commit 6e58901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/netexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import platform

# Increase file_limit to prevent error "Too many open files"
if platform != "Windows":
if platform.system() != "Windows":
import resource

file_limit = list(resource.getrlimit(resource.RLIMIT_NOFILE))
Expand Down

0 comments on commit 6e58901

Please sign in to comment.