mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 02:35:22 +00:00
image_signing: ignore missing chrome_dev.conf
If we try to sign an image w/out Chrome, this file won't exist. Run grep with the -s flag to silence those warnings. BUG=chromium:418817 TEST=`cbuildbot storm-release` no longer warns BRANCH=None Change-Id: Ibac0978e3e4d9f89c00206a2dd21c1d71544f710 Reviewed-on: https://chromium-review.googlesource.com/221184 Reviewed-by: Gaurav Shah <gauravsh@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
782300d093
commit
2b802de836
@@ -51,7 +51,7 @@ main() {
|
|||||||
# Verify that session_manager isn't configured to pass additional
|
# Verify that session_manager isn't configured to pass additional
|
||||||
# environment variables or command-line arguments to Chrome.
|
# environment variables or command-line arguments to Chrome.
|
||||||
local config_path="$rootfs/etc/chrome_dev.conf"
|
local config_path="$rootfs/etc/chrome_dev.conf"
|
||||||
local matches=$(grep "^[^#]" "${config_path}")
|
local matches=$(grep -s "^[^#]" "${config_path}")
|
||||||
if [ -n "$matches" ]; then
|
if [ -n "$matches" ]; then
|
||||||
echo "FAIL: Found commands in $config_path:"
|
echo "FAIL: Found commands in $config_path:"
|
||||||
echo "$matches"
|
echo "$matches"
|
||||||
|
|||||||
Reference in New Issue
Block a user