Skip to content

Commit 1397590

Browse files
committed
FIX: Another missing variable initialization
- $SECONDS was used but never defined; fixed now On branch main Changes to be committed: modified: server/vscode-remote.sh
1 parent d0c924c commit 1397590

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/vscode-remote.sh

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ function connect () {
127127

128128
while ! nc -z $JOB_NODE $JOB_PORT; do
129129
timeout
130+
tstart=$SECONDS
130131
elapsed=0
131132
# Sleep 1 second (w/o spawning a subprocess)
132133
while [ "${elapsed}" -lt 1 ]; do

0 commit comments

Comments
 (0)