diff --git a/instance-scripts/scripts/rust.sh b/instance-scripts/scripts/rust.sh
index 21df85f4b32fe2ead4be19dd72266633f1436f47..35c7bdefaa84f268596e0dcdb8d2f839e9abc3de 100644
--- a/instance-scripts/scripts/rust.sh
+++ b/instance-scripts/scripts/rust.sh
@@ -4,5 +4,4 @@
 # Install Rust
 #
 
-curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
-source "$HOME/.cargo/env"
\ No newline at end of file
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source "$HOME/.cargo/env"