mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-25 15:01:22 +01:00
FIX: bug crashing for undeclared variable when consitency
checks failed
This commit is contained in:
parent
a1a4295dcf
commit
bf3bfc2a91
@ -122,7 +122,7 @@ play_consistency_tests() {
|
||||
if [ 1 -eq $consist_test ]; then
|
||||
if [ 0 -eq $dismiss_count ]; then
|
||||
nbfailedconsist=$(( nbfailedconsist + 1 ))
|
||||
listfailedconsist="$listfailedconsist $(make_usecase_name consist)"
|
||||
listfailedconsist="$listfailedconsist $(make_usecase_name "$usecase" consist)"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user