summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--THANKS.in1
-rwxr-xr-xplugins-scripts/check_oracle.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS.in b/THANKS.in
index 883387e5..0c2dc842 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -323,3 +323,4 @@ Eric J. Mislivec
323Jean-Claude Computing 323Jean-Claude Computing
324Andy Brist 324Andy Brist
325Mikael Falkvidd 325Mikael Falkvidd
326Frederic Krueger
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh
index ceac95dc..1873a3c2 100755
--- a/plugins-scripts/check_oracle.sh
+++ b/plugins-scripts/check_oracle.sh
@@ -137,7 +137,7 @@ case "$cmd" in
137 tnschk=` tnsping $2` 137 tnschk=` tnsping $2`
138 tnschk2=` echo $tnschk | grep -c OK` 138 tnschk2=` echo $tnschk | grep -c OK`
139 if [ ${tnschk2} -eq 1 ] ; then 139 if [ ${tnschk2} -eq 1 ] ; then
140 tnschk3=` echo $tnschk | sed -e 's/.*(//' -e 's/).*//'` 140 tnschk3=${tnschk##*(}; tnschk3=${tnschk3%)*}
141 echo "OK - reply time ${tnschk3} from $2" 141 echo "OK - reply time ${tnschk3} from $2"
142 exit $STATE_OK 142 exit $STATE_OK
143 else 143 else