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 db92884cd0
commit 373c54e174

View file

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