mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-23 02:54:35 +02:00
chore: make linter happy for existing code
This commit is contained in:
@ -13,7 +13,7 @@ cleanup_and_exit() {
|
||||
if [ "$totalerrors" -eq 255 ]; then
|
||||
fatal "RUNTIME ERROR"
|
||||
fi
|
||||
exit $totalerrors
|
||||
exit "$totalerrors"
|
||||
}
|
||||
trap "cleanup_and_exit" EXIT HUP INT
|
||||
|
||||
@ -125,7 +125,7 @@ play_consistency_tests() {
|
||||
ok "$name logs are identical"
|
||||
fi
|
||||
|
||||
if [ 1 -eq $consist_test ]; then
|
||||
if [ 1 -eq "$consist_test" ]; then
|
||||
nbfailedconsist=$((nbfailedconsist + 1))
|
||||
listfailedconsist="$listfailedconsist $(make_usecase_name "$usecase" consist)"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user