cli show config json: add {} clause for empty

This commit is contained in:
Olof hagsand 2022-11-19 11:13:27 +01:00
parent caef594dbe
commit a3bb271432

View file

@ -516,6 +516,8 @@ cli_show_common(clicon_handle h,
}
}
}
else if (format == FORMAT_JSON)
cligen_output(stdout, "{}\n");
retval = 0;
done:
if (vec)