1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Get the default suite from /etc/os-release

This commit is contained in:
Wilco de Boer 2021-05-18 15:33:16 +02:00 committed by GitHub
parent 40366a4c1e
commit b247f8f228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,9 @@ if [ ! -x /usr/bin/debsecan ]; then
exit 1
fi
SUITE=${suite:-sid}
source /etc/os-release
SUITE=${suite:-$VERSION_CODENAME}
FIXEDWARN=${fixed_warning:-1}
FIXEDCRIT=${fixed_critical:-1000}
REMOTEWARN=${remote_warning:-1}