diff options
author | Jan Wagner <waja@cyconet.org> | 2017-01-06 17:14:55 (GMT) |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2017-01-06 17:14:55 (GMT) |
commit | 9d8e973b93f261cbb52f5cb944f2e074c348290d (patch) | |
tree | 0b329a2131a973997fa4e4e24665de2aeed39424 /plugins-scripts | |
parent | 5c473c8612a55cc71689bf4ba468a464bf9da197 (diff) | |
download | monitoring-plugins-9d8e973b93f261cbb52f5cb944f2e074c348290d.tar.gz |
Fixing shellcheck SC2162
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
110 | do | 110 | do |
111 | [ ! -f $oratab ] && continue | 111 | [ ! -f $oratab ] && continue |
112 | ORACLE_HOME=`IFS=: | 112 | ORACLE_HOME=`IFS=: |
113 | while read SID ORACLE_HOME junk; | 113 | while read -r SID ORACLE_HOME junk; |
114 | do | 114 | do |
115 | if [ "$SID" = "$2" -o "$SID" = "*" ] ; then | 115 | if [ "$SID" = "$2" -o "$SID" = "*" ] ; then |
116 | echo "$ORACLE_HOME"; | 116 | echo "$ORACLE_HOME"; |