]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Don't stop processing CallID parameters on the 1st "empty" paramter.
authorAidan Van Dyk <aidan@ifax.com>
Mon, 30 May 2005 19:33:37 +0000 (19:33 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Mon, 30 May 2005 19:33:37 +0000 (19:33 +0000)
util/faxrcvd.sh.in

index 83a2491f3d94c35022adf2bd33de481481f43206..7259067949fc7015529470a7eb67e765fcdf76b6 100644 (file)
@@ -102,7 +102,7 @@ DEVICE="$1"; shift;
 COMMID="$1"; shift;
 MSG="$1"; shift;
 COUNT=1
-while [ "$1" != "" ]; do
+while [ $# -ge 1 ]; do
     eval CALLID$COUNT="$1"
     shift
     COUNT=`expr $COUNT + 1`