mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
nginx_error: enable 'set -eu' flags for shell
This commit is contained in:
parent
24ea5d29e9
commit
a4882b1912
1 changed files with 4 additions and 1 deletions
|
@ -80,6 +80,9 @@ GPLv3
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
|
||||||
# default environment variable values
|
# default environment variable values
|
||||||
logpath=${logpath:-/var/log/nginx}
|
logpath=${logpath:-/var/log/nginx}
|
||||||
|
|
||||||
|
@ -149,7 +152,7 @@ do_autoconf () {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
case $1 in
|
case ${1:-} in
|
||||||
config)
|
config)
|
||||||
do_config
|
do_config
|
||||||
# support "dirty config" capability
|
# support "dirty config" capability
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue