add --audit-all option

This commit is contained in:
Stéphane Lesimple
2016-04-19 19:26:04 +02:00
committed by thibault.dewailly
parent ccda7adb93
commit 8d84f38c97
2 changed files with 11 additions and 0 deletions

View File

@ -26,6 +26,10 @@ fi
while [[ $# > 0 ]]; do
ARG="$1"
case $ARG in
--audit-all)
debug "Audit all specified, setting status to audit regardless of configuration"
status=audit
;;
--audit)
if [ $status != 'disabled' -a $status != 'false' ]; then
debug "Audit argument detected, setting status to audit"