Skip to content

Commit

Permalink
confile: cleanup set_config_log_file()
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 committed Dec 8, 2020
1 parent 7f44fda commit 34f3b30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lxc/confile.c
Expand Up @@ -1548,12 +1548,12 @@ static int set_config_log_file(const char *key, const char *value,
int ret;

if (lxc_config_value_empty(value)) {
free(c->logfile);
c->logfile = NULL;
free_disarm(c->logfile);
return 0;
}

/* Store these values in the lxc_conf, and then try to set for actual
/*
* Store these values in the lxc_conf, and then try to set for actual
* current logging.
*/
ret = set_config_path_item(&c->logfile, value);
Expand Down

0 comments on commit 34f3b30

Please sign in to comment.