projects
/
pve-firewall.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
814de83
)
do not log simulate warnings to syslog
author
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 20 May 2014 08:50:25 +0000
(10:50 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 20 May 2014 08:50:25 +0000
(10:50 +0200)
src/pve-firewall
patch
|
blob
|
blame
|
history
diff --git
a/src/pve-firewall
b/src/pve-firewall
index c8e9559fc0a568a5f8a238b0d33ed877aac56ec7..b8584fec436f26d571a4504934041d24061b0a95 100755
(executable)
--- 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);