mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-23 05:55:38 +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 [ 1 -eq $consist_test ]; then
|
||||||
if [ 0 -eq $dismiss_count ]; then
|
if [ 0 -eq $dismiss_count ]; then
|
||||||
nbfailedconsist=$(( nbfailedconsist + 1 ))
|
nbfailedconsist=$(( nbfailedconsist + 1 ))
|
||||||
listfailedconsist="$listfailedconsist $(make_usecase_name consist)"
|
listfailedconsist="$listfailedconsist $(make_usecase_name "$usecase" consist)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user