Join update thread before bailing out on bad input.

This commit is contained in:
Bartosz Taudul 2022-04-27 01:39:51 +02:00
parent 1b7e8c3520
commit 1e35bbd54e
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -381,6 +381,7 @@ int main( int argc, char** argv )
else
{
fprintf( stderr, "Bad parameter: %s", argv[1] );
updateThread.join();
exit( 1 );
}
argc -= 2;