diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1622fd9231582ecf040eb6a1911769a9cddf3f40..7e7aef688bc1e1925086db3cda3ee530832438d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ before_script:
     apt-get update -qq &&
     apt-get purge -qq binutils-doc &&
     apt-get install -qq x86-64-unknown-redox-gcc &&
-    curl https://sh.rustup.rs -sSf | sh -s -- --yes --default-toolchain none
+    curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
 
 build:
    script: