diff --git a/backup_am_github_repos_and_issues.sh b/backup_am_github_repos_and_issues.sh
index 4891a98f84816d9ff63d6f7e9c17eb7eff267243..87b8c26a3051c6674b9a20af3c92b6830050886a 100644
--- a/backup_am_github_repos_and_issues.sh
+++ b/backup_am_github_repos_and_issues.sh
@@ -19,9 +19,7 @@ done
 
 print_fails(){
 # print fails (if any) and exit
-if [[ ${#fails[@]} -eq 0 ]]; then
-  exit 0 # no error during execution
-else
+if [[ ${#fails[@]} -ne 0 ]]; then
   echo "################"
   echo "FAILED COMMANDS:"
   for fail in "${fails[@]}"; do
@@ -107,3 +105,5 @@ done
 popd || exit 1
 
 print_fails
+
+exit 0;