Skip to content

Commit

Permalink
sign_image: two unnecessary (but harmless) lines of code (from previo…
Browse files Browse the repository at this point in the history
…us tests) removed
  • Loading branch information
PeterPawn committed Sep 22, 2018
1 parent 11b6f3f commit e990b88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions signimage/sign_image
Expand Up @@ -139,7 +139,6 @@ checksum()
printf "%d" $sum
}
sum=0
cp "$1" /var/tmp/savedheader
cmp -l -- "$1" /dev/zero 2>/dev/null | read_values
}
####################################################################################
Expand Down Expand Up @@ -371,7 +370,6 @@ mkdir -p "$tmp/var"
# needed #
# #
####################################################################################
fill_blocks=0
if [ $(( ( copy_blocks + 2 ) % 20 )) -eq 0 ]; then
echo -ne "Repeating first entry as filler ... " 1>&2
"$YF_SIGNIMAGE_DD" if="$image_file" of="$tmp/filler.bin" bs=512 count=1 status=none 2>/dev/null
Expand Down

0 comments on commit e990b88

Please sign in to comment.