mkfirmware.sh: fix exit if remove failed
Signed-off-by: Weiwen Chen <cww@rock-chips.com> Change-Id: I9af517f1431e56cc47245eaf27a174dcb531822a
This commit is contained in:
@ -211,7 +211,7 @@ then
|
||||
echo "done."
|
||||
else
|
||||
echo -e "\e[31m error: $LOADER not found,or there are multiple loaders! \e[0m"
|
||||
rm $LOADER
|
||||
rm $LOADER || true
|
||||
fi
|
||||
|
||||
#if [ -f $SPINOR_LOADER ]
|
||||
|
||||
Reference in New Issue
Block a user