Improve error messages
This commit is contained in:
parent
4d8aaa1809
commit
7e77fbd9fd
|
|
@ -48,11 +48,11 @@ fi
|
||||||
|
|
||||||
if [ -d "${3}" ]; then
|
if [ -d "${3}" ]; then
|
||||||
if [ -f "${3}" ]; then
|
if [ -f "${3}" ]; then
|
||||||
echo "Path exists"
|
echo "Can not create venv, path exists"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ -d "${3}" ]; then
|
if [ -d "${3}" ]; then
|
||||||
echo "Path exists"
|
echo "Can not create venv, path exists"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue