#!/bin/bash
+set -e
if ! command -v rustup &> /dev/null; then
- echo "Rustup could not be found, it can be installed by running the following command: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
+ echo "Rustup could not be found, it can be installed by running the following command: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" >& 2
exit 1
fi
cd ~/src