diff --git a/ansible-setup.sh b/ansible-setup.sh index 060680c..68dec30 100755 --- a/ansible-setup.sh +++ b/ansible-setup.sh @@ -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