mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
Fixing shellcheck SC2162
This commit is contained in:
parent
5c473c8612
commit
9d8e973b93
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue