| Index: build_image
|
| diff --git a/build_image b/build_image
|
| index 9674e36ab018f565f57e56074db403de571e9998..c53793d9ad5b7a669c109ae38d6be7d2dbc864ec 100755
|
| --- a/build_image
|
| +++ b/build_image
|
| @@ -334,7 +334,7 @@ delete_prompt() {
|
|
|
| # Only prompt if both stdin and stdout are a tty. If either is not a tty,
|
| # then the user may not be present, so we shouldn't bother prompting.
|
| - if tty -s && tty -s <&1; then
|
| + if tty -s && tty -s <&1 && [ "${USER}" -ne 'chrome-bot' ]; then
|
| read -p "Would you like to delete the output directory (y/N)? " SURE
|
| SURE="${SURE:0:1}" # Get just the first character.
|
| else
|
|
|