cluster/fence/agents/scsi scsi_reserve
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: rohara at sourceware.org 2006-11-27 22:41:42
Modified files:
fence/agents/scsi: scsi_reserve
Log message:
Fix comment.
Fix exit status to be rval.
fence/agents/scsi/scsi_reserve +4 -3
@@ -25,9 +25,9 @@ | awk --posix ' $1 ~ /[-a-z]{5}c/ { print $2 } ' \ | sed -e 's/([0-9]*)//' | sort | uniq ) -# if not scsi devices were found we can exit now +# if no scsi devices were found we can exit now # -[ -z "$scsi_devices" ] && exit 0 +[ -z $scsi_devices ] && exit 0 # get the node name and node addr from cman #
@@ -136,4 +136,5 @@ esac -exit $status +exit $rval +