Fixing shellcheck SC2162

This commit is contained in:
Jan Wagner 2017-01-06 18:14:55 +01:00
parent 5c473c8612
commit 9d8e973b93

View file

@ -110,7 +110,7 @@ if [ -z "$ORACLE_HOME" ] ; then
do
[ ! -f $oratab ] && continue
ORACLE_HOME=`IFS=:
while read SID ORACLE_HOME junk;
while read -r SID ORACLE_HOME junk;
do
if [ "$SID" = "$2" -o "$SID" = "*" ] ; then
echo "$ORACLE_HOME";