mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 10:43:43 +02:00
Added argument parsing and test checks
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user