changeset 23:b10f01885949

docker: fixed libervia_cont update + added some newlines
author Goffi <goffi@goffi.org>
date Sun, 19 Oct 2014 19:44:47 +0200
parents 2c861d6aa446
children f0a59c8f3490
files docker/libervia_cont.sh
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/docker/libervia_cont.sh	Sun Oct 19 19:40:45 2014 +0200
+++ b/docker/libervia_cont.sh	Sun Oct 19 19:44:47 2014 +0200
@@ -222,7 +222,7 @@
         printf "\n"
         ;;
     UPDATE)
-        printf "updating containers"
+        printf "updating containers...\n"
         errors=0
         for CONT in $CONTAINERS data; do
             printf "\nupdating $CONT"
@@ -232,10 +232,10 @@
                 errors=1
             fi
         done
-        if [ errors -eq 0 ]; then
-            printf "\nContainers are up-to-date"
+        if [ $errors -eq 0 ]; then
+            printf "\n\nContainers are up-to-date\n"
         else
-            printf "\nSome errors happened while updating containers"
+            printf "\n\nSome errors happened while updating containers\n"
             exit 1
         fi
         ;;