From ec5597ec92570f5cc9da4a8ad634b8ba56c1d09e Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Fri, 26 Jan 2001 17:25:45 +0000 Subject: [PATCH] Fix a place where we were exiting without applying the exit-specs. Wrap a long line. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@53 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/avrdude/main.c b/avrdude/main.c index 37686c56..15275bd1 100644 --- a/avrdude/main.c +++ b/avrdude/main.c @@ -449,11 +449,12 @@ int main ( int argc, char * argv [] ) fprintf(stderr, "%s: Yikes! Invalid device signature.\n", progname); if (!ovsigck) { - fprintf(stderr, - "%sDouble check connections and try again, or use -F to override\n" + fprintf(stderr, "%sDouble check connections and try again, " + "or use -F to override\n" "%sthis check.\n\n", progbuf, progbuf ); - exit(1); + exitrc = 1; + goto main_exit; } }