From 0c2cb5e87d7b6350f9bbe64487787581b9be816e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Jul 2010 07:07:16 +0000 Subject: [PATCH] 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 --- urjtag/ChangeLog | 5 +++++ urjtag/src/apps/jtag/jtag.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 2637e452..f8dc19a6 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,8 @@ +2010-07-18 Mike Frysinger + + * 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 * src/tap/cable/generic_usbconn_list.h: Macro away duplicate ftdi lists. diff --git a/urjtag/src/apps/jtag/jtag.c b/urjtag/src/apps/jtag/jtag.c index d8823d6f..d2d18b4e 100644 --- a/urjtag/src/apps/jtag/jtag.c +++ b/urjtag/src/apps/jtag/jtag.c @@ -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(); }