All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH 1/5] rgmanager: Fix orainstance.sh error checking
@ 2012-06-28 19:57 Ryan McCabe
  2012-07-04 11:04 ` Fabio M. Di Nitto
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan McCabe @ 2012-06-28 19:57 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Pull in the fixed error checking that was added to oracledb.sh as a fix for
rhbz#471066.

Resolves: rhbz#723819

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
---
 rgmanager/src/resources/orainstance.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/resources/orainstance.sh b/rgmanager/src/resources/orainstance.sh
index 6f2ff15..a9f690d 100755
--- a/rgmanager/src/resources/orainstance.sh
+++ b/rgmanager/src/resources/orainstance.sh
@@ -105,7 +105,7 @@ start_db() {
 
 	# If we see:
 	# ORA-.....: failure, we failed
-	grep -q "failure" $logfile
+	grep -q "^ORA-" $logfile
 	rv=$?
 
     rm -f $logfile
@@ -155,7 +155,7 @@ stop_db() {
 		return 1
 	fi
 
-	grep -q failure $logfile
+	grep -q "^ORA-" $logfile
     rv=$?
     rm -f $logfile
 
-- 
1.7.10.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Cluster-devel] [PATCH 1/5] rgmanager: Fix orainstance.sh error checking
  2012-06-28 19:57 [Cluster-devel] [PATCH 1/5] rgmanager: Fix orainstance.sh error checking Ryan McCabe
@ 2012-07-04 11:04 ` Fabio M. Di Nitto
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio M. Di Nitto @ 2012-07-04 11:04 UTC (permalink / raw)
  To: cluster-devel.redhat.com

ACK

On 6/28/2012 9:57 PM, Ryan McCabe wrote:
> Pull in the fixed error checking that was added to oracledb.sh as a
> fix for rhbz#471066.
> 
> Resolves: rhbz#723819
> 
> Signed-off-by: Ryan McCabe <rmccabe@redhat.com> --- 
> rgmanager/src/resources/orainstance.sh |    4 ++-- 1 file changed,
> 2 insertions(+), 2 deletions(-)
> 
> diff --git a/rgmanager/src/resources/orainstance.sh
> b/rgmanager/src/resources/orainstance.sh index 6f2ff15..a9f690d
> 100755 --- a/rgmanager/src/resources/orainstance.sh +++
> b/rgmanager/src/resources/orainstance.sh @@ -105,7 +105,7 @@
> start_db() {
> 
> # If we see: # ORA-.....: failure, we failed -	grep -q "failure"
> $logfile +	grep -q "^ORA-" $logfile rv=$?
> 
> rm -f $logfile @@ -155,7 +155,7 @@ stop_db() { return 1 fi
> 
> -	grep -q failure $logfile +	grep -q "^ORA-" $logfile rv=$? rm -f
> $logfile
> 
> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-04 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-28 19:57 [Cluster-devel] [PATCH 1/5] rgmanager: Fix orainstance.sh error checking Ryan McCabe
2012-07-04 11:04 ` Fabio M. Di Nitto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.