Gitweb:
http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git...
Commit: f66e1223656fa2e20706393936a546c0c895ef4a
Parent: f9d933d42f7a1c42ad54be3fdaf0887b0252c4ee
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:39:17 2009 -0500
rgmanager: Fix erroneous bind mount warning in fs.sh
The previous patch 26e9e538b22554d21ae43c4b379b664daf6f05d3
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