cluster: RHEL55 - rgmanager: Fix erroneous bind mount warning in fs.sh
Lon Hohberger
lon at fedoraproject.org
Mon Dec 21 18:31:38 UTC 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=8d523d56d6d36b7b84ebafb923908a3a79b72938
Commit: 8d523d56d6d36b7b84ebafb923908a3a79b72938
Parent: 9bfaeaebb9a359d1edbe7bc411e1393a7806117f
Author: Lon Hohberger <lhh at redhat.com>
AuthorDate: Tue Dec 15 11:28:51 2009 -0500
Committer: Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Dec 21 13:29:27 2009 -0500
rgmanager: Fix erroneous bind mount warning in fs.sh
The previous patch b5be828615a2ed7bd95a3796d96f5cc536e2adc7
produced an incorrect error when mounting the file system.
Resolves: bz526286
Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
rgmanager/src/resources/fs.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/resources/fs.sh b/rgmanager/src/resources/fs.sh
index 477391c..03cd59a 100755
--- a/rgmanager/src/resources/fs.sh
+++ b/rgmanager/src/resources/fs.sh
@@ -620,7 +620,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
More information about the cluster-commits
mailing list