Fix: Should not exit after docker image built

This commit is contained in:
winkidney
2019-12-08 17:07:18 +08:00
committed by Isaac Bythewood
parent 2458ad295c
commit 3a3b0e24cb

View File

@@ -7,7 +7,7 @@ if [ "${ALLOW_NEW_REGISTRATIONS}" = "" ]; then
fi
if [[ "$(docker images -q pinry/pinry 2> /dev/null)" == "" ]]; then
echo "No docker image found, building..." && "${script_dir}/build_docker.sh" || echo "Failed to build docker image..." && exit
echo "No docker image found, building..." && "${script_dir}/build_docker.sh"
fi
echo "=================================================================================="