diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 1dcd70f628b..05e005d929a 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -10230,7 +10230,7 @@ main(int argc, char **argv) * Automate cachefile */ if (!spa_config_path_env && !config_path_console && target && - libzfs_core_init() == 0) { + !dump_opt['l'] && libzfs_core_init() == 0) { char *pname = strdup(target); const char *value; nvlist_t *pnvl = NULL;