Commit b41fa553 by Wolfgang Bumiller Committed by Stéphane Graber

tools: lxc-start: set configfile after load_config

Same change as in 6118210e which was missing in lxc-start and back then is_defined() wasn't being called. Signed-off-by: 's avatarWolfgang Bumiller <w.bumiller@proxmox.com>
parent 7a432aef
...@@ -259,6 +259,11 @@ int main(int argc, char *argv[]) ...@@ -259,6 +259,11 @@ int main(int argc, char *argv[])
lxc_container_put(c); lxc_container_put(c);
exit(err); exit(err);
} }
c->configfile = strdup(my_args.rcfile);
if (!c->configfile) {
ERROR("Out of memory setting new config filename");
goto out;
}
} else { } else {
int rc; int rc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment