Commit ab44835c by dlezcano

Fixed missing initialization variable

parent 682d7e54
...@@ -84,6 +84,7 @@ int main(int argc, char *argv[]) ...@@ -84,6 +84,7 @@ int main(int argc, char *argv[])
} }
snprintf(path, MAXPATHLEN, LXCPATH "/%s", name);
if (access(path, R_OK)) { if (access(path, R_OK)) {
if (lxc_create(name, &lxc_conf)) { if (lxc_create(name, &lxc_conf)) {
fprintf(stderr, "failed to create the container '%s'\n", name); fprintf(stderr, "failed to create the container '%s'\n", name);
......
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