File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ source .runpod.env
1414
1515# Build SSH connection string
1616SSH_OPTS=" -p ${RUNPOD_SSH_PORT} "
17- if [ ! -z " ${RUNPOD_SSH_KEY} " ]; then
17+ if [ -n " ${RUNPOD_SSH_KEY} " ]; then
1818 SSH_OPTS=" ${SSH_OPTS} -i ${RUNPOD_SSH_KEY} "
1919fi
2020
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ source .runpod.env
1414
1515# Build SSH connection string
1616SSH_OPTS=" -p ${RUNPOD_SSH_PORT} "
17- if [ ! -z " ${RUNPOD_SSH_KEY} " ]; then
17+ if [ -n " ${RUNPOD_SSH_KEY} " ]; then
1818 SSH_OPTS=" ${SSH_OPTS} -i ${RUNPOD_SSH_KEY} "
1919fi
2020
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ source .runpod.env
1414
1515# Build SSH connection string
1616SSH_OPTS=" -p ${RUNPOD_SSH_PORT} "
17- if [ ! -z " ${RUNPOD_SSH_KEY} " ]; then
17+ if [ -n " ${RUNPOD_SSH_KEY} " ]; then
1818 SSH_OPTS=" ${SSH_OPTS} -i ${RUNPOD_SSH_KEY} "
1919fi
2020
You can’t perform that action at this time.
0 commit comments