2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

nginx_error: enable 'set -eu' flags for shell

This commit is contained in:
Lars Kruse 2018-01-20 01:49:15 +01:00
parent 24ea5d29e9
commit a4882b1912

View File

@ -80,6 +80,9 @@ GPLv3
=cut
set -eu
# default environment variable values
logpath=${logpath:-/var/log/nginx}
@ -149,7 +152,7 @@ do_autoconf () {
}
case $1 in
case ${1:-} in
config)
do_config
# support "dirty config" capability