From 79356b230044e3b7f00da2755bc87303c125f4f8 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/avrdude@53 81a1dc3b-b13d-400b-aceb-764788c761c2 --- main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 37686c56..15275bd1 100644 --- a/main.c +++ b/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; } }