Commit 4cec6aea authored by Jan Včelák's avatar Jan Včelák 🚀
Browse files

keymgr, fix crash when parsing missing key size

parent a3948283
......@@ -164,7 +164,7 @@ int value_key_size(int argc, char *argv[], const parameter_t *p, void *data)
assert(p);
assert(data);
if (argc < 0) {
if (argc < 1) {
error_missing_option(p);
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment