do not clear the value, so that one can pass in the values throw env variables.

This commit is contained in:
neilpang 2017-03-25 18:06:19 +08:00
parent 5abbdf5a51
commit 2e14840e3c
1 changed files with 3 additions and 5 deletions

View File

@ -30,12 +30,10 @@ usage() {
NAME="$(basename $0)" NAME="$(basename $0)"
REAL_NAME="$(readlink -f $0)" REAL_NAME="$(readlink -f $0)"
HERE="$(cd "$(dirname "$REAL_NAME")" && pwd)" HERE="$(cd "$(dirname "$REAL_NAME")" && pwd)"
PORT="6080" PORT="${PORT:-6080}"
VNC_DEST="localhost:5900" VNC_DEST="${VNC_DEST:-localhost:5900}"
CERT=""
WEB=""
proxy_pid="" proxy_pid=""
SSLONLY=""
die() { die() {
echo "$*" echo "$*"