From: Stefan Schantl Date: Sat, 18 Aug 2018 08:01:14 +0000 (+0200) Subject: ids-functions.pl: Display error if oinkmaster cannot be executed X-Git-Tag: suricata-beta3~33^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d9711d91ef57f846eb09fd77ec9e7a58d745dc6d;p=people%2Fstevee%2Fipfire-2.x.git ids-functions.pl: Display error if oinkmaster cannot be executed Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 0e1f2876b0..cb16e1b493 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -189,7 +189,7 @@ sub oinkmaster () { openlog('oinkmaster', 'cons,pid', 'user'); # Call oinkmaster to generate ruleset. - open(OINKMASTER, "/usr/local/bin/oinkmaster.pl -v -s -u file://$rulestarball -C $settingsdir/oinkmaster.conf -o $rulespath|"); + open(OINKMASTER, "/usr/local/bin/oinkmaster.pl -v -s -u file://$rulestarball -C $settingsdir/oinkmaster.conf -o $rulespath|") or die "Could not execute oinkmaster $!\n"; # Log output of oinkmaster to syslog. while() {