commands: better error message

parent 59301023
......@@ -97,7 +97,7 @@ static const char *lxc_cmd_str(lxc_cmd_t cmd)
};
if (cmd >= LXC_CMD_MAX)
return "Unknown cmd";
return "Invalid request";
return cmdname[cmd];
}
......
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