do not abort running when a user rc file cannot be parsed ... this occurs when perms are weird or HOME doesnt exist or any other odd situation that shouldnt ultimately prevent urjtag from running

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1810 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 15 years ago
parent cd4fb2e516
commit 0c2cb5e87d

@ -1,3 +1,8 @@
2010-07-18 Mike Frysinger <vapier@gentoo.org>
* src/apps/jtag/jtag.c (main): Do not abort running just because a user's
rc file is unparseable (or inaccessible).
2010-06-29 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/generic_usbconn_list.h: Macro away duplicate ftdi lists.

@ -544,9 +544,9 @@ main (int argc, char *const argv[])
{
if (urj_error_get() != URJ_ERROR_IO)
{
/* Only warn about RC problems; don't prevent running */
urj_log (URJ_LOG_LEVEL_NORMAL, "Error: %s\n",
urj_error_describe());
go = 0;
}
urj_error_reset();
}

Loading…
Cancel
Save