Skip to content

Commit ef30858

Browse files
author
jvazquez-r7
committed
Use default timeout value
1 parent 8ac82b8 commit ef30858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/windows/gather/enum_prefetch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def run
156156
# Goes through the files in Prefetch directory, creates file paths for the
157157
# gather_pf_info function that enumerates all the pf info
158158

159-
getfile_prefetch_filenames = client.fs.file.search(full_path,file_type,timeout=-1)
159+
getfile_prefetch_filenames = client.fs.file.search(full_path,file_type)
160160
if getfile_prefetch_filenames.empty? or getfile_prefetch_filenames.nil?
161161
print_error("Could not find/access any .pf files. Can't continue. (Might be temporary error..)")
162162
return nil

0 commit comments

Comments
 (0)