Permalink
Browse files

Hide notices for missing variables

  • Loading branch information...
NEMS Linux
NEMS Linux committed Jan 12, 2019
1 parent 9e615dc commit c95552adcf011a9140f27e4f2be803f60df6601c
Showing with 4 additions and 0 deletions.
  1. +2 −0 data/1.5/nagios/plugins/nems_sendmail_host
  2. +2 −0 data/1.5/nagios/plugins/nems_sendmail_service
@@ -18,6 +18,8 @@ with special permission from Heini Holm Andersen.
*******************************************************************************/
error_reporting(E_ALL & ~E_NOTICE);
header('Content-Type: text/html; charset=utf-8');
$ver = shell_exec('/usr/local/bin/nems-info nemsver');
@@ -18,6 +18,8 @@ with special permission from Heini Holm Andersen.
*******************************************************************************/
error_reporting(E_ALL & ~E_NOTICE);
header('Content-Type: text/html; charset=utf-8');
$ver = shell_exec('/usr/local/bin/nems-info nemsver');

0 comments on commit c95552a

Please sign in to comment.