From 24da4e017c2ac74e98d295fd4a65f584f8b74b1e Mon Sep 17 00:00:00 2001 From: epi Date: Mon, 2 Aug 2021 05:41:50 -0500 Subject: [PATCH] adjusted rlimit imports to ignore windows targets --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index ba5ec33..3fb96ea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,10 +28,10 @@ use feroxbuster::{ progress::{PROGRESS_BAR, PROGRESS_PRINTER}, scan_manager::{self}, scanner, - utils::{fmt_err, set_open_file_limit, slugify_filename}, - DEFAULT_OPEN_FILE_LIMIT, + utils::{fmt_err, slugify_filename}, }; #[cfg(not(target_os = "windows"))] +use feroxbuster::{utils::set_open_file_limit, DEFAULT_OPEN_FILE_LIMIT}; use lazy_static::lazy_static; use regex::Regex;