X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2Fpve-firewall;h=bdd9f21d43e25c346e63bd561129ec34717e3132;hp=c12a7a5b44909430ab76464c69c868213c214709;hb=8e471378028479508f515f9ec7bdca1b0a6ed41d;hpb=cf10b505b2142ea2e215025e71640e6a6c095090 diff --git a/src/pve-firewall b/src/pve-firewall index c12a7a5..bdd9f21 100755 --- a/src/pve-firewall +++ b/src/pve-firewall @@ -31,14 +31,7 @@ my $cmdline = [$0, @ARGV]; my %daemon_options = (restart_on_error => 5, stop_wait_time => 5); -my $daemon; -eval { - $daemon = __PACKAGE__->new('pve-firewall', $cmdline, %daemon_options); -}; -if (my $err = $@) { - syslog("err", "daemon init failed - $err"); - exit(-1); -} +my $daemon = __PACKAGE__->new('pve-firewall', $cmdline, %daemon_options); my $rpcenv = PVE::RPCEnvironment->init('cli');