[Cluster-devel] cluster/fence/agents/scsi scsi_reserve

rohara at sourceware.org rohara at sourceware.org
Mon Nov 27 22:40:07 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara at sourceware.org	2006-11-27 22:40:07

Modified files:
	fence/agents/scsi: scsi_reserve 

Log message:
	Fix comment.
	Fix exit status be rval.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/scsi_reserve.diff?cvsroot=cluster&r1=1.1&r2=1.2

--- cluster/fence/agents/scsi/scsi_reserve	2006/07/12 22:09:37	1.1
+++ cluster/fence/agents/scsi/scsi_reserve	2006/11/27 22:40:07	1.2
@@ -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
+




More information about the Cluster-devel mailing list