Skip to content

Commit 8f388eb

Browse files
author
jvazquez-r7
committed
fixing if typo
1 parent b5b5667 commit 8f388eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/symantec_brightmail_logfile.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def download_file(sid, fname)
121121
if not res
122122
print_error("#{peer} - Unable to download the file. The server timed out.")
123123
return
124-
if res and res.body.empty?
124+
elsif res and res.body.empty?
125125
print_error("#{peer} - File not found or empty.")
126126
return
127127
end

0 commit comments

Comments
 (0)