diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-28 15:33:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-28 15:33:49 -0300 |
commit | 1e098b3b19ae5cdf3b324e15541bb7888728703c (patch) | |
tree | 49228ff24cac7e42e60c287eca64e87b22738776 | |
parent | 8a6c4c27702469c01907dfba4b5bfe08cdc70df1 (diff) | |
download | hydra-1e098b3b19ae5cdf3b324e15541bb7888728703c.tar.gz hydra-1e098b3b19ae5cdf3b324e15541bb7888728703c.tar.bz2 |
Fatal error when no domain config is set
-rwxr-xr-x | share/hydra/sync | 2 |
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 |