| Index: update_depot_tools | 
| diff --git a/update_depot_tools b/update_depot_tools | 
| index 129ab40cb315cb0d24851b74d227b8d28cd5f0a7..a146724ff163e94340ba3d4910956a28c4f29a24 100755 | 
| --- a/update_depot_tools | 
| +++ b/update_depot_tools | 
| @@ -79,8 +79,9 @@ function update_git_repo { | 
| echo "  $remote_url" | 
| echo | 
| read -t 60 -p "OK to update it to $CANONICAL_GIT_URL ? [Y/n] " -n 1 | 
| +    STATUS=$? | 
| echo | 
| -    if [ $? -ne "0" ]; then | 
| +    if [[ $STATUS -ne 0 ]]; then | 
| echo "Timeout; not updating remote URL." | 
| elif [ -z "$REPLY" -o "$REPLY" = "Y" -o "$REPLY" = "y" ]; then | 
| "$GIT" config remote.origin.url "$CANONICAL_GIT_URL" | 
|  |