fate-recv: fix update of slots that never compiled
authorMans Rullgard <mans@mansr.com>
Sun, 1 Aug 2010 23:57:10 +0000 (00:57 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 1 Aug 2010 23:57:10 +0000 (00:57 +0100)
fate-recv.sh

index aa2027b..80144ec 100755 (executable)
@@ -52,7 +52,7 @@ done
 exec <&- >&-
 
 upass(){
-    read pname pdate prev
+    read pname pdate prev || return 0
     while read lname ldate lrev; do
         test "$lname" != "$pname" && echo "$pname:$pdate:$prev"
         pname=$lname