diff --git a/scripts/check_is_private_key_nor_password_is_not_logged.bash b/scripts/check_is_private_key_nor_password_is_not_logged.bash
index 359a724bdf4a4d1b4d75bf32b90789261316ef83..67e3dd7941d67186de36cecc27a36b1c46a87800 100755
--- a/scripts/check_is_private_key_nor_password_is_not_logged.bash
+++ b/scripts/check_is_private_key_nor_password_is_not_logged.bash
@@ -9,9 +9,9 @@ function find_password_private_keys() {
         '(Error in response from url|Problem occurred during communication with|test_tools.__private.logger)'
 }
 
-amount_of_occurences=$(find_password_private_keys --count)
-if [[ $amount_of_occurences -ne 0 ]]; then
-    echo "Error! Found $amount_of_occurences occurrences of private key or password"
+amount_of_occurrences=$(find_password_private_keys --count)
+if [[ $amount_of_occurrences -ne 0 ]]; then
+    echo "Error! Found $amount_of_occurrences occurrences of private key or password"
     find_password_private_keys 2>&1
 fi;
-exit "$amount_of_occurences"
+exit "$amount_of_occurrences"