Commit 345847925e36d7a052a8fac98ff1a4484982a572

Authored by George Vlahavas
1 parent a712ee3c4d

Only show message on error

Showing 1 changed file with 1 additions and 3 deletions

... ... @@ -12,9 +12,7 @@
12 12  
13 13 # Check that containers were removed succesfully
14 14 res=`docker ps -a | grep "/curex-local/kea_" | wc -l`
15   -if [ $res -eq 0 ]; then
16   - echo "All KEA docker containers have been stopped and removed."
17   -else
  15 +if [ $res -ne 0 ]; then
18 16 echo "ERROR: Some KEA containers have not been removed."
19 17 docker ps -a
20 18 exit 1