mirror of
https://github.com/ovh/debian-cis.git
synced 2025-04-18 16:17:31 +02: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 [ 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…
x
Reference in New Issue
Block a user