mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-06-02 09:46:34 +03:00
Bail out on failed initialisation unless -F was given
This commit is contained in:
@@ -1480,10 +1480,7 @@ int main(int argc, char * argv [])
|
||||
}
|
||||
}
|
||||
|
||||
if (!init_ok) {
|
||||
/*
|
||||
* If we came here by the -tF options, bail out now.
|
||||
*/
|
||||
if(!init_ok && !ovsigck) { // Bail out on failed initialisation unless -F was given
|
||||
exitrc = 1;
|
||||
goto main_exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user