This commit is contained in:
petitlouis 2018-04-26 15:41:01 +00:00 committed by GitHub
commit 2fea4889e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -153,9 +153,9 @@ fi
echo -e "\n\nNavigate to this URL:\n"
if [ "x$SSLONLY" == "x" ]; then
echo -e " http://$(hostname):${PORT}/vnc.html?host=$(hostname)&port=${PORT}\n"
echo -e " http://$(hostname):${PORT}/vnc.html?host=$(echo "$VNC_DEST"| cut -d: -f1)&port=$(echo "$VNC_DEST"| cut -d: -f2)\n"
else
echo -e " https://$(hostname):${PORT}/vnc.html?host=$(hostname)&port=${PORT}\n"
echo -e " https://$(hostname):${PORT}/vnc.html?host=$(echo "$VNC_DEST"| cut -d: -f1)&port=$(echo "$VNC_DEST"| cut -d: -f2)\n"
fi
echo -e "Press Ctrl-C to exit\n\n"