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