From mboxrd@z Thu Jan 1 00:00:00 1970 From: rohara@sourceware.org Date: 27 Nov 2006 22:41:42 -0000 Subject: [Cluster-devel] cluster/fence/agents/scsi scsi_reserve Message-ID: <20061127224142.25728.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/scsi_reserve.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1&r2=1.1.2.1 --- cluster/fence/agents/scsi/scsi_reserve 2006/07/12 22:09:37 1.1 +++ cluster/fence/agents/scsi/scsi_reserve 2006/11/27 22:41:42 1.1.2.1 @@ -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 +