mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Check target path is set.
This commit is contained in:
@@ -72,6 +72,13 @@ int main(int argc, char** argv)
|
||||
target = argv[i];
|
||||
}
|
||||
|
||||
if(target == NULL)
|
||||
{
|
||||
fprintf(stderr, "Please specify a target path.\n");
|
||||
fprintf(stderr, "Usage %s [--log] [--quiet] <path>\n", argv[0]);
|
||||
return -3;
|
||||
}
|
||||
|
||||
log_set_quiet(quiet);
|
||||
|
||||
if(log)
|
||||
|
||||
Reference in New Issue
Block a user