Skip to content
Snippets Groups Projects
Commit fadc8d52 authored by Sam Gleske's avatar Sam Gleske
Browse files

delete_mirror will skip if project doesn't exist

parent ca4c1045
Branches
Tags
No related merge requests found
......@@ -86,6 +86,10 @@ function preflight() {
yellow_echo -n "--delete" 1>&2
red_echo " option." 1>&2
STATUS=1
elif [ ! -e "${repo_dir}/${gitlab_namespace}/${project_name}" ];then
yellow_echo -n "${repo_dir}/${gitlab_namespace}/${project_name}"
echo " does not exist."
exit
fi
return ${STATUS}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment