Skip to content

Commit

Permalink
Merge pull request #252 from michaelolbrich/check-missing-config
Browse files Browse the repository at this point in the history
run_genimage_impl: abort for missing config file
  • Loading branch information
michaelolbrich authored Jun 21, 2024
2 parents 0d9f207 + b0d050e commit b3eac8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ setup_data() {
}

run_genimage_impl() {
if [ ! -e "${1}" ]; then
echo "ERROR: genimage config file '${1}' missing!"
return 130
fi
if [ "$verbose" = "t" ]; then
vargs="--loglevel=3"
fi
Expand Down

0 comments on commit b3eac8e

Please sign in to comment.