This commit is contained in:
Allan Jude 2024-09-10 12:01:58 +02:00 committed by GitHub
commit 0738a82a49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -9580,7 +9580,11 @@ main(int argc, char **argv)
if (argc != 3) if (argc != 3)
usage(); usage();
dump_opt['v'] = verbose; dump_opt['v'] = verbose;
error = dump_path(argv[0], argv[1], &object); if (zdb_numeric(argv[1])) {
object = strtoull(argv[1], NULL, 0);
} else {
error = dump_path(argv[0], argv[1], &object);
}
if (error != 0) if (error != 0)
fatal("internal error: %s", strerror(error)); fatal("internal error: %s", strerror(error));
} }