[DRBD-cvs] scripts by lars; do not choke on 'disk<tab>{'
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Tue, 1 Jun 2004 10:34:39 +0200 (CEST)
DRBD CVS committal
Author : lars
Project : drbd
Module : scripts
Dir : drbd/scripts
Modified Files:
drbd
Log Message:
do not choke on 'disk<tab>{'
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/scripts/drbd,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- drbd 28 Apr 2004 07:57:15 -0000 1.57
+++ drbd 1 Jun 2004 08:34:34 -0000 1.58
@@ -62,7 +62,7 @@
#
# shouldn't there be more descriptive comments? ;)
#
-CVSID='$Id: drbd,v 1.57 2004/04/28 07:57:15 lars Exp $'
+CVSID='$Id: drbd,v 1.58 2004/06/01 08:34:34 lars Exp $'
CONTACT='Lars Ellenberg <l.g.e@web.de>, drbd-user@lists.linbit.com'
##################################################}}}1
@@ -612,7 +612,7 @@
TOKEN_LINE=''
;;
*)
- TOKEN=${TOKEN_LINE%% *}
+ TOKEN=${TOKEN_LINE%%[$IFS]*}
TOKEN_LINE=${TOKEN_LINE#$TOKEN}
;;
esac