Merge pull request #1259 from lyarwood/launch.sh

launch.sh: Check for a local websockify directory
This commit is contained in:
Samuel Mannehed
2019-07-14 23:31:10 +02:00
committed by GitHub

View File

@@ -128,7 +128,7 @@ if [ -n "${KEY}" ]; then
fi
# try to find websockify (prefer local, try global, then download local)
if [[ -e ${HERE}/websockify ]]; then
if [[ -d ${HERE}/websockify ]]; then
WEBSOCKIFY=${HERE}/websockify/run
if [[ ! -x $WEBSOCKIFY ]]; then