Skip to content

Commit 6103381

Browse files
committed
fix blocksizes
1 parent 560395b commit 6103381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third_level_manager/copy_file_from_hawk_to_ng.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ do
5050
echo "Block: $startblock-$endblock of $size"
5151
uftp cp -n $STREAMS -B "${startblock}-${endblock}-p" -i ~/.uftp/id_uftp_to_hlrs -u $USERHAWK $HAWKURL:$FILEHAWK_INSTANCE $PATHLRZ/ &
5252
pids+=($!)
53-
startblock=$((endblock+1))
53+
startblock=$((endblock))
5454
if [ $i -eq $((PROCS)) ]; then
55-
endblock=$((size-1))
55+
endblock=$((size))
5656
else
5757
endblock=$((endblock+size/PROCS))
5858
fi

0 commit comments

Comments
 (0)