summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/image_signing/ensure_not_tainted_license.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/image_signing/ensure_not_tainted_license.sh b/scripts/image_signing/ensure_not_tainted_license.sh
index cd640493..daa00b55 100755
--- a/scripts/image_signing/ensure_not_tainted_license.sh
+++ b/scripts/image_signing/ensure_not_tainted_license.sh
@@ -42,8 +42,9 @@ main() {
license=$(find "${license_dir}" -name about_os_credits.html 2>/dev/null)
if [[ -z "${license}" ]]; then
- echo "License file about_os_credits.html not found in ${license_dir}"
- exit 1
+ echo "License file about_os_credits.html not found in ${license_dir}."
+ echo "Skipping the check of tainted license."
+ exit 0
fi
tainted_tag="<!-- tainted -->"