Verified Commit 2d583b7b authored by Florian Pritz's avatar Florian Pritz
Browse files

nginx-zabbix: Add debug output for die()


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 9c27c789
......@@ -18,6 +18,10 @@ 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 {
print STDERR "Should be dying now\n";
exit(2);
};
sub trim {
my $str = shift;
......
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