RSTunnel icon indicating copy to clipboard operation
RSTunnel copied to clipboard

`$SSHPATH` is not used in the function to check if binaries are available

Open JayGoldberg opened this issue 3 years ago • 0 comments

for cmd in ssh nc; do
    if [ ! $(which $cmd) ]; then
      ErrMsg "[FATAL] Can't find $cmd, make sure the required binaries \
      are installed and that their paths in the config are correct"
      exit 1
    fi
  done

In this code we do not take into account the rstunnel.conf overrides for binary locations, instead relying on $PATH.

JayGoldberg avatar Jul 28 '21 15:07 JayGoldberg