mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 21:26:57 +00:00
confile: config_loglevel()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
cdee76e3b1
commit
33501e96b7
@ -1421,7 +1421,7 @@ static int config_loglevel(const char *key, const char *value,
|
|||||||
{
|
{
|
||||||
int newlevel;
|
int newlevel;
|
||||||
|
|
||||||
if (!value || strlen(value) == 0)
|
if (config_value_empty(value))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (value[0] >= '0' && value[0] <= '9') {
|
if (value[0] >= '0' && value[0] <= '9') {
|
||||||
|
Loading…
Reference in New Issue
Block a user