mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-24 19:51:23 +02:00
launch.sh: Check for a local websockify directory
Previously launch.sh would check both for the existence of a local websockify file and /websockify/run file. This initial check should really be for a local websockify directory as in packaged environments a file could very well be the actual executable leading to launch.sh incorrectly attempting to use a local version of websockify.
This commit is contained in:
parent
74161066af
commit
257aabecb0
@ -128,7 +128,7 @@ if [ -n "${KEY}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# try to find websockify (prefer local, try global, then download local)
|
# 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
|
WEBSOCKIFY=${HERE}/websockify/run
|
||||||
|
|
||||||
if [[ ! -x $WEBSOCKIFY ]]; then
|
if [[ ! -x $WEBSOCKIFY ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user