[monitoring-plugins] Fixing shellcheck SC2162
Jan Wagner
git at monitoring-plugins.org
Thu Dec 2 17:00:13 CET 2021
Module: monitoring-plugins
Branch: master
Commit: 9d8e973b93f261cbb52f5cb944f2e074c348290d
Author: Jan Wagner <waja at cyconet.org>
Date: Fri Jan 6 18:14:55 2017 +0100
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9d8e973
Fixing shellcheck SC2162
---
plugins-scripts/check_oracle.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh
index 9b9540a..bfd9e8f 100755
--- a/plugins-scripts/check_oracle.sh
+++ b/plugins-scripts/check_oracle.sh
@@ -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";
More information about the Commits
mailing list