From: Dietmar Maurer Date: Tue, 20 May 2014 08:50:25 +0000 (+0200) Subject: do not log simulate warnings to syslog X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=815b4ebf6fdac57572c064a9fe40a58eb2919c76 do not log simulate warnings to syslog --- diff --git a/src/pve-firewall b/src/pve-firewall index c8e9559..b8584fe 100755 --- a/src/pve-firewall +++ b/src/pve-firewall @@ -444,6 +444,8 @@ __PACKAGE__->register_method ({ code => sub { my ($param) = @_; + local $SIG{'__WARN__'} = 'DEFAULT'; # do not fill up syslog + my ($ruleset, $ipset_ruleset) = PVE::Firewall::compile(); PVE::FirewallSimulator::debug($param->{verbose} || 0);