From: Silvio Rhatto Date: Tue, 25 Mar 2014 01:41:01 +0000 (-0300) Subject: Do not return false on absent profiles at sync-all X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=188f688daeb2fe81718303959afbe6fbc9768129;p=scripts.git Do not return false on absent profiles at sync-all --- diff --git a/sync-code b/sync-code index c0e28bb..1d1ccc9 100755 --- 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