Exit if python3 is not available

This commit is contained in:
Anthony Rose 2021-06-08 14:42:02 +01:00
parent 99a1ab093c
commit 316fcad8be

View file

@ -33,7 +33,7 @@ create_link () {
py3cmd="$(command -v python3)"
if [ ! -x "$py3cmd" ]; then
echo "python3 not found"
return 1
exit 1
else
echo "python3 found: $py3cmd"
fi