diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 4114e9fff..1561a73c9 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -328,6 +328,14 @@ int lxc_listconfigs(char *retv, int inlen) return fulllen; } +static inline bool config_value_empty(const char *value) +{ + if (value && strlen(value) > 0) + return false; + + return true; +} + static int config_string_item(char **conf_item, const char *value) { char *new_value;