mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-09 03:35:20 +00:00
confile: config_ttydir()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
fb12b12a55
commit
5767e9baf6
@ -1386,6 +1386,9 @@ static int config_ttydir(const char *key, const char *value,
|
|||||||
static int config_kmsg(const char *key, const char *value,
|
static int config_kmsg(const char *key, const char *value,
|
||||||
struct lxc_conf *lxc_conf)
|
struct lxc_conf *lxc_conf)
|
||||||
{
|
{
|
||||||
|
if (config_value_empty(value))
|
||||||
|
return 0;
|
||||||
|
|
||||||
if (lxc_safe_uint(value, &lxc_conf->kmsg) < 0)
|
if (lxc_safe_uint(value, &lxc_conf->kmsg) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user