summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/sync2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hydra/sync b/share/hydra/sync
index 25dccfd..c281478 100755
--- a/share/hydra/sync
+++ b/share/hydra/sync
@@ -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