Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 1274ca603ef82051898009ec3b99df9b982b7578
Parent: bc09c990a910a6ade0f11890cf906fa053d62d33
Author: Lon Hohberger <lhh(a)redhat.com>
AuthorDate: Tue Dec 15 11:28:51 2009 -0500
Committer: Lon Hohberger <lhh(a)redhat.com>
CommitterDate: Mon Dec 21 13:35:01 2009 -0500
rgmanager: Fix erroneous bind mount warning in fs.sh
The previous patch 32bed24ef00dc5df5474d0287ffbb3e4eceb1226
produced an incorrect error when mounting the file system.
Resolves: bz526286
Signed-off-by: Lon Hohberger <lhh(a)redhat.com>
---
rgmanager/src/resources/fs.sh.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/resources/fs.sh.in b/rgmanager/src/resources/fs.sh.in
index a6238fd..51f8f48 100644
--- a/rgmanager/src/resources/fs.sh.in
+++ b/rgmanager/src/resources/fs.sh.in
@@ -600,7 +600,7 @@ isMounted () {
fi
done < /proc/mounts
- if [ $found -ne 0 ]; then
+ if [ $ret -eq $YES ] && [ $found -ne 0 ]; then
ocf_log warn "Device $dev is mounted on $poss_mp instead of $mp"
fi