summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/image_signing/ensure_no_nonrelease_files.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/image_signing/ensure_no_nonrelease_files.sh b/scripts/image_signing/ensure_no_nonrelease_files.sh
index a3612cea..e83a2ba8 100755
--- a/scripts/image_signing/ensure_no_nonrelease_files.sh
+++ b/scripts/image_signing/ensure_no_nonrelease_files.sh
@@ -45,7 +45,7 @@ main() {
for file in ${release_file_blacklist}; do
if [ -e "${rootfs}/${file}" ]; then
- echo "FAIL: ${file} exists in this image!"
+ error "${file} exists in this image!"
ls -al "${rootfs}/${file}"
testfail=1
fi
@@ -56,8 +56,8 @@ main() {
local config_path="${rootfs}/etc/chrome_dev.conf"
local matches=$(grep -s "^[^#]" "${config_path}")
if [ -n "${matches}" ]; then
- echo "FAIL: Found commands in ${config_path}:"
- echo "${matches}"
+ error "Found commands in ${config_path}:"
+ error "${matches}"
testfail=1
fi