diff --git a/add_mirror.sh b/add_mirror.sh index aa89040975d9041a1afa79e3c082d7f20929b52e..9f8491084494c1adc3e6bc1ce947b43430ef4cf0 100755 --- a/add_mirror.sh +++ b/add_mirror.sh @@ -156,6 +156,7 @@ elif [ ! -d "${repo_dir}/${gitlab_namespace}" ];then exit 1 elif [ -d "${repo_dir}/${gitlab_namespace}/${project_name}" ];then red_echo "Error: \"${repo_dir}/${gitlab_namespace}\" exists already. Aborting command." 1>&2 + exit 1 fi #Set up project creation options based on config.sh to be passed to create manage_gitlab_project.py