[DRBD-cvs] scripts by phil; Lars Ellenberg's last minute patch befor...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Sun, 8 Feb 2004 20:40:02 +0100 (CET)


DRBD CVS committal

Author  : phil
Project : drbd
Module  : scripts

Dir     : drbd/scripts


Modified Files:
	drbd 


Log Message:
Lars Ellenberg's last minute patch before 0.6.11 depatures.

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/scripts/drbd,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- drbd	6 Feb 2004 09:17:59 -0000	1.52
+++ drbd	8 Feb 2004 19:39:57 -0000	1.53
@@ -62,7 +62,7 @@
 #
 # shouldn't there be more descriptive comments? ;)
 #
-CVSID='$Id: drbd,v 1.52 2004/02/06 09:17:59 phil Exp $'
+CVSID='$Id: drbd,v 1.53 2004/02/08 19:39:57 phil Exp $'
 CONTACT='Lars Ellenberg <l.g.e@web.de>, drbd-user@lists.linbit.com'
 
 ##################################################}}}1
@@ -1186,6 +1186,7 @@
 	declare -a Device=(__hash__0)
 	declare -a Address_Port=(__hash__0)
 
+	[[ $SEEN_RESOURCES ]] || { die "No resources configured."$'\n'; }
 	for res in $SEEN_RESOURCES; do
 		fetch CONF "$res:HOSTS"
 		for host in $RET_VAL ; do