Return the correct return code from 'main()'.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@10 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
dae1a56af6
commit
486e0fd2af
|
@ -804,6 +804,9 @@ int main ( int argc, char * argv [] )
|
|||
}
|
||||
|
||||
|
||||
exitrc = 0;
|
||||
|
||||
|
||||
/*
|
||||
* initialize the chip in preperation for accepting commands
|
||||
*/
|
||||
|
@ -977,6 +980,6 @@ int main ( int argc, char * argv [] )
|
|||
|
||||
fprintf(stderr, "\n" );
|
||||
|
||||
return 0;
|
||||
return exitrc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue