Skip to content

Commit 9dd92cf

Browse files
authored
Update dmarcts-report-parser.pl
Based on feedback from Issue #118
1 parent 6f74b09 commit 9dd92cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dmarcts-report-parser.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ sub show_usage {
316316
# This connection is finished this way because of the tradgedy of exchange...
317317
$imap->User($imapuser);
318318
$imap->Password($imappass);
319-
$imap->connect();
319+
$imap->connect() or die "$scriptname: Could not connect: $@";
320320

321321
# Ignore Size Errors if we're using Exchange
322322
$imap->Ignoresizeerrors($imapignoreerror);

0 commit comments

Comments
 (0)