]> gitweb.fluxo.info Git - scripts.git/commitdiff
Avoid exit 1 at sync-code
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 26 May 2013 22:01:17 +0000 (19:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 26 May 2013 22:01:17 +0000 (19:01 -0300)
sync-code

index 58954917a009542b846179ab4bc8c12699a69090..fc02c045e236ef5409150c935b2effc8e9405aa9 100755 (executable)
--- 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
 }