Added argument parsing and test checks

This commit is contained in:
thibault.dewailly
2016-04-17 23:10:47 +02:00
parent e1337d76df
commit ef14c475fe
3 changed files with 32 additions and 1 deletions

View File

@ -19,7 +19,7 @@ audit () {
info "Fetching upgrades ..."
apt_check_updates "CIS_APT"
if [ $FNRET -gt 0 ]; then
warn "$RESULT"
crit "$RESULT"
FNRET=1
else
ok "No upgrades available"