diff options
Diffstat (limited to 'src/rust/install.sh')
-rwxr-xr-x | src/rust/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/install.sh b/src/rust/install.sh index 3970bb2..a84716c 100755 --- a/src/rust/install.sh +++ b/src/rust/install.sh @@ -179,8 +179,8 @@ else apt-get -y install --no-install-recommends git fi - echo ${RUST_VERSION} | grep -q "nightly" - is_nightly=$? + is_nightly=0 + echo ${RUST_VERSION} | grep -q "nightly" || is_nightly=$? if [ $is_nightly = 0 ]; then check_nightly_version_formatting RUST_VERSION else |