Skip to content

Commit

Permalink
one more2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremycollake committed Jun 25, 2013
1 parent 17374d3 commit de9a7fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ case $HEADER_TYPE in
"tp-link")
printf "\nCorrecting TP-Link firmware image ... "
src/tpl-tool/src/tpl-tool -x "$FWOUT"
if [ $? -ne 0 ]; then
if [ $? -ne 0 ]; then
CHECKSUM_ERROR=1
printf "ERROR"
else
src/tpl-tool/src/tpl-tool -b "$FWOUT"
mv "$FWOUT-new" "$FWOUT"
Expand Down

0 comments on commit de9a7fe

Please sign in to comment.