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:
parent
24ea5d29e9
commit
a4882b1912
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user