mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 20:03:19 +00:00
tools: lxc-start: set configfile after load_config
Same change as in 6118210e0a
which was missing in lxc-start
and back then is_defined() wasn't being called.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
aee937d034
commit
b586db430b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user