aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-24 22:41:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-24 22:41:01 -0300
commit188f688daeb2fe81718303959afbe6fbc9768129 (patch)
tree3d61bbc6548b3a4938677c7e0c544a14edc0173a
parent8d9ce905ade21f6e060ff20fe8ccd712a4218783 (diff)
downloadscripts-188f688daeb2fe81718303959afbe6fbc9768129.tar.gz
scripts-188f688daeb2fe81718303959afbe6fbc9768129.tar.bz2
Do not return false on absent profiles at sync-all
-rwxr-xr-xsync-code3
1 files changed, 1 insertions, 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