Skip to content

Commit

Permalink
confile: config_includefile()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner authored and stgraber committed Jul 1, 2017
1 parent c98dd7b commit ef821d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lxc/confile.c
Expand Up @@ -1918,6 +1918,9 @@ static int do_includedir(const char *dirp, struct lxc_conf *lxc_conf)
static int config_includefile(const char *key, const char *value,
struct lxc_conf *lxc_conf)
{
if (config_value_empty(value))
return 0;

if (is_dir(value))
return do_includedir(value, lxc_conf);

Expand Down

0 comments on commit ef821d5

Please sign in to comment.