diff --git a/cleanAndRunEccs2.sh b/cleanAndRunEccs2.sh
index 29db4bb3b0e5ea31dda007f8c61232f900c63f3f..bff17b6bcc153b6e08bedab6ee3f960b0519e891 100755
--- a/cleanAndRunEccs2.sh
+++ b/cleanAndRunEccs2.sh
@@ -25,7 +25,6 @@ declare -a eccs2cmdToRemoveArray
 
 if [ -s $eccsoutput ]; then
    if [ -s $file ]; then
-
       while IFS= read -r line
       do
          string=$line
@@ -64,6 +63,8 @@ if [ -s $eccsoutput ]; then
       else
          echo "$date - ECCS2 OK: All eduGAIN IdPs have been checked successfully"
       fi
+   else
+      echo "$date - ECCS2 OK: All eduGAIN IdPs have been checked successfully"
    fi
 else
    echo "$date - Something went wrong and the ECCS2 check has not been executed"