Skip to content

Commit 16413eb

Browse files
committed
FIx: mask fopen on irrpt_nag
1 parent 05d72e8 commit 16413eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/irrpt_nag

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ if (file_exists($o_cfgfile) === FALSE || is_readable($o_cfgfile) === FALSE) {
6868
require($o_cfgfile);
6969

7070
/* Open message file, read in data */
71-
if (!($msgfile = fopen($o_msgfile, "r"))) {
71+
if (($msgfile = @fopen($o_msgfile, "r")) === FALSE) {
7272
status(STATUS_ERROR, "Unable to open nag message file {$o_msgfile}, aborting.\n");
7373
exit(1);
7474
}

0 commit comments

Comments
 (0)