mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Actually, echo suite even when sourcing os-release
fails
This commit is contained in:
parent
d8dba4936e
commit
5c048c989f
1 changed files with 4 additions and 1 deletions
|
@ -73,7 +73,10 @@ if [ ! -x /usr/bin/debsecan ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Suite is taken from environment but defaults to `os-release` content
|
# Suite is taken from environment but defaults to `os-release` content
|
||||||
SUITE=$(. /etc/os-release && echo "${suite:-$VERSION_CODENAME}")
|
SUITE=$(
|
||||||
|
. /etc/os-release
|
||||||
|
echo "${suite:-$VERSION_CODENAME}"
|
||||||
|
)
|
||||||
|
|
||||||
FIXEDWARN=${fixed_warning:-1}
|
FIXEDWARN=${fixed_warning:-1}
|
||||||
FIXEDCRIT=${fixed_critical:-1000}
|
FIXEDCRIT=${fixed_critical:-1000}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue