diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-08-25 12:39:46 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-08-28 17:18:49 -0400 |
commit | 79d45d32bc419343ac2cd7657c764afc0ff033da (patch) | |
tree | 535aeb4dc6ea42d22dba5a9fbe9c6cdc538cee98 /net/dns.c | |
parent | d6538d22de83110369752682cc3e3d3860e09d91 (diff) | |
download | u-boot-imx-79d45d32bc419343ac2cd7657c764afc0ff033da.zip u-boot-imx-79d45d32bc419343ac2cd7657c764afc0ff033da.tar.gz u-boot-imx-79d45d32bc419343ac2cd7657c764afc0ff033da.tar.bz2 |
tools/genboardscfg.py: fix minor problems on termination
This tool deletes the incomplete boards.cfg
if it encounters an error or is is terminated by the user.
I notice some problems even though they rarely happen.
[1] The boards.cfg is removed if the program is terminated
during __gen_boards_cfg() function but before boards.cfg
is actually touched. In this case, the previous boards.cfg
should be kept as it is.
[2] If an error occurs while deleting the incomplete boards.cfg,
the program throws another exception. This hides the privious
exception and we will not be able to know the real cause.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/dns.c')
0 files changed, 0 insertions, 0 deletions