Permalink
Browse files

eva_tools/eva_discover: oops, missed a 'shift' while searching 'socat'

  • Loading branch information...
PeterPawn committed Jan 7, 2018
1 parent b806931 commit b70944f97a96cc804c6bdfb0140c0fc26945f67a
Showing with 3 additions and 2 deletions.
  1. +3 −2 eva_tools/eva_discover
View
@@ -270,8 +270,8 @@ done
#
###########################################################################
if [ $socat_set -ne 1 ]; then
socat="$(which socat)"
if [ $? -eq 127 ]; then
socat="$(which socat 2>/dev/null)"
if [ $? -eq 127 ] || [ -z "$socat" ]; then
orgifs="$IFS"
IFS=:
set -- $PATH
@@ -282,6 +282,7 @@ if [ $socat_set -ne 1 ]; then
socat="$1/$socat"
break
fi
shift
done
fi
fi

0 comments on commit b70944f

Please sign in to comment.