Skip to content

Commit

Permalink
remove an extra line, and better indention
Browse files Browse the repository at this point in the history
CVS patchset: 8442
CVS date: 2006/01/12 16:41:12

--HG--
extra : convert_revision : e5314a7a50e2d1de3145bd165d0d8fb5692d409e
  • Loading branch information
xunsun committed Jan 12, 2006
1 parent bb57b59 commit edde2ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions heartbeat/Filesystem.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# $Id: Filesystem.in,v 1.12 2006/01/10 17:32:35 alan Exp $
# $Id: Filesystem.in,v 1.13 2006/01/12 16:41:12 xunsun Exp $
#
# Support: linux-ha@lists.linux-ha.org
# License: GNU General Public License (GPL)
Expand Down Expand Up @@ -96,7 +96,7 @@ usage() {

cat <<-EOT;
usage: $0 {start|stop|status|monitor|validate-all|meta-data}
$Id: Filesystem.in,v 1.12 2006/01/10 17:32:35 alan Exp $
$Id: Filesystem.in,v 1.13 2006/01/12 16:41:12 xunsun Exp $
EOT
}

Expand Down Expand Up @@ -329,12 +329,11 @@ Filesystem_status()
greppat="^$DEVICE $MOUNTPOINT "
else
greppat=" $MOUNTPOINT "
rc=$?
fi
if
grep -q -e "${greppat}" /proc/mounts >/dev/null 2>&1
then
rc=$OCF_SUCCESS
rc=$OCF_SUCCESS
msg="$MOUNTPOINT is mounted (running)"
else
rc=$OCF_NOT_RUNNING
Expand Down

0 comments on commit edde2ea

Please sign in to comment.