Verified Commit 8b70a4e7 authored by Florian Pritz's avatar Florian Pritz
Browse files

nginx-zabbix: Fix incorrect signale name for die()


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 2d583b7b
......@@ -18,7 +18,7 @@ my @nginx_log_file_paths = glob("/var/log/nginx/*-access.log /var/log/nginx/*/ac
@nginx_log_file_paths = ("./test-access.log") if $devmode;
#$SIG{PIPE} = 'IGNORE';
$SIG{DIE} = sub {
$SIG{__DIE__} = sub {
print STDERR "Should be dying now\n";
exit(2);
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment