Skip to content

Commit bf98ad7

Browse files
committed
install.sh: Default $RSH to ssh
1 parent 650c88c commit bf98ad7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install.sh

+1
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ main() {
181181
done
182182

183183
if [ "${RSH_ARGS-}" ]; then
184+
RSH="${RSH-ssh}"
184185
echoh "Installing remotely with $RSH $RSH_ARGS"
185186
curl -fsSL https://code-server.dev/install.sh | prefix "$RSH_ARGS" "$RSH" "$RSH_ARGS" sh -s -- "$ALL_FLAGS"
186187
return

0 commit comments

Comments
 (0)