]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fatal error when no domain config is set
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Feb 2014 18:33:49 +0000 (15:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Feb 2014 18:33:49 +0000 (15:33 -0300)
share/hydra/sync

index 25dccfd77b92b8bc7dcd5a65a2f380d5eb6bb80a..c2814785a1e0b95a2791752f07d074e211fbb5a3 100755 (executable)
@@ -31,6 +31,8 @@ function hydra_sync {
         url="`cat $HYDRA_FOLDER/config/repository/url`"
       else
         if [ ! -e "$HYDRA_FOLDER/config/domain" ]; then
+          echo "Please set domain configuration"
+          exit 1
         fi
         url="gitolite@admin.`cat $HYDRA_FOLDER/config/domain`:$repository"
       fi