aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-26 19:01:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-26 19:01:17 -0300
commit65e7e436db93e1e18efee25cd7ac6e3888c8ff44 (patch)
tree16f885e65c53a2fbe85c306c170113a277b26b51
parent7cc8991464d46f6fce0882142ef2135c562f80e6 (diff)
downloadscripts-65e7e436db93e1e18efee25cd7ac6e3888c8ff44.tar.gz
scripts-65e7e436db93e1e18efee25cd7ac6e3888c8ff44.tar.bz2
Avoid exit 1 at sync-code
-rwxr-xr-xsync-code2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync-code b/sync-code
index 5895491..fc02c04 100755
--- a/sync-code
+++ b/sync-code
@@ -22,7 +22,7 @@ function sync_code_run {
$UNISON $config
else
echo "No such profile $HOME/.unison/$config.prf"
- exit 1
+ return 1
fi
}