From 188f688daeb2fe81718303959afbe6fbc9768129 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 24 Mar 2014 22:41:01 -0300 Subject: Do not return false on absent profiles at sync-all --- sync-code | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- cgit v1.2.3