parent 69556eaf
......@@ -126,6 +126,12 @@ int main(int argc, char *argv[])
}
}
if (!c->lxc_conf) {
fprintf(stderr, "No container config specified\n");
lxc_container_put(c);
exit(EXIT_FAILURE);
}
if (!c->may_control(c)) {
fprintf(stderr, "Insufficent privileges to control %s\n",
my_args.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