Exit if python3 is not available
This commit is contained in:
parent
99a1ab093c
commit
316fcad8be
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue