mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-23 14:35:26 +01:00
FIX: bug crashing for undeclared variable when consitency
checks failed
This commit is contained in:
parent
5f7cb58dd4
commit
d2b20640a6
@ -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