diff --git a/updatecli.d/rust.yml b/updatecli.d/rust.yml index 27dd65a83..9fb6e5c51 100644 --- a/updatecli.d/rust.yml +++ b/updatecli.d/rust.yml @@ -6,9 +6,9 @@ sources: spec: shell: bash command: | - set -eo pipefail + set -e # Check that we have latest stable. - if rustup check | grep ^stable- | grep 'Update available'; then + if rustup check | grep '^stable-.*[uU]pdate available'; then echo >&2 "Rust toolchain 'stable' is stale, please update it" exit 1 fi