load_roots: fix no-argument detection

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-07-30 13:01:36 +02:00
parent 618a70ede7
commit 01997e119f

View file

@ -132,7 +132,7 @@ int main( int argc, char *argv[] )
struct mbedtls_timing_hr_time timer; struct mbedtls_timing_hr_time timer;
unsigned long ms; unsigned long ms;
if( argc == 0 ) if( argc <= 1 )
{ {
mbedtls_printf( USAGE ); mbedtls_printf( USAGE );
goto exit; goto exit;