Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
8b70a4e7
Verified
Commit
8b70a4e7
authored
Apr 07, 2018
by
Florian Pritz
Browse files
nginx-zabbix: Fix incorrect signale name for die()
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
2d583b7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/zabbix-agent/files/nginx-zabbix.pl
View file @
8b70a4e7
...
...
@@ -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
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment