more usefull error message

This commit is contained in:
Kay0u 2022-01-05 18:28:09 +01:00
parent c31395dfa7
commit f2ded36983
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -17,7 +17,7 @@ start_container () {
if ! lxc image info "$BASE_IMAGE-$SNAPSHOT_NAME" &>/dev/null if ! lxc image info "$BASE_IMAGE-$SNAPSHOT_NAME" &>/dev/null
then then
error "$BASE_IMAGE not found, please rebuild with rebuild_all.sh" error "$BASE_IMAGE-$SNAPSHOT_NAME not found, please rebuild with rebuild_all.sh"
# Inform GitLab Runner that this is a system failure, so it # Inform GitLab Runner that this is a system failure, so it
# should be retried. # should be retried.
exit $SYSTEM_FAILURE_EXIT_CODE exit $SYSTEM_FAILURE_EXIT_CODE