mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user