Skip to content
Snippets Groups Projects
Verified Commit 588394bf authored by Mateusz Żebrak's avatar Mateusz Żebrak
Browse files

Fix typo in check_is_private_key_nor_password_is_not_logged

parent e71a9aae
No related branches found
No related tags found
2 merge requests!415CI check_... scripts improvements,!412V1.27.5.13 release
...@@ -9,9 +9,9 @@ function find_password_private_keys() { ...@@ -9,9 +9,9 @@ function find_password_private_keys() {
'(Error in response from url|Problem occurred during communication with|test_tools.__private.logger)' '(Error in response from url|Problem occurred during communication with|test_tools.__private.logger)'
} }
amount_of_occurences=$(find_password_private_keys --count) amount_of_occurrences=$(find_password_private_keys --count)
if [[ $amount_of_occurences -ne 0 ]]; then if [[ $amount_of_occurrences -ne 0 ]]; then
echo "Error! Found $amount_of_occurences occurrences of private key or password" echo "Error! Found $amount_of_occurrences occurrences of private key or password"
find_password_private_keys 2>&1 find_password_private_keys 2>&1
fi; fi;
exit "$amount_of_occurences" exit "$amount_of_occurrences"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment