]> gitweb.fluxo.info Git - scripts.git/commitdiff
Do not return false on absent profiles at sync-all
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Mar 2014 01:41:01 +0000 (22:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Mar 2014 01:41:01 +0000 (22:41 -0300)
sync-code

index c0e28bb21322e285728385fe8fe3a29c679c2379..1d1ccc966a44f76502bec68b722b6073a857b454 100755 (executable)
--- a/sync-code
+++ b/sync-code
@@ -22,7 +22,7 @@ function sync_code_run {
     $UNISON $config
   else
     echo "Skipping absent profile $config."
-    return 1
+    return
   fi
 }
 
@@ -48,5 +48,4 @@ if [ ! -z "$DEST" ]; then
   for profile in $profiles; do
     sync_code_run $profile
   done
-
 fi