Commit 8f43e535 by Christian Brauner Committed by Stéphane Graber

lxc-ls: set ls_nesting to 0 initially

Otherwise users will always get nested containers listed. Signed-off-by: 's avatarChristian Brauner <christian.brauner@mailbox.org> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 21e019c2
...@@ -186,7 +186,7 @@ Options :\n\ ...@@ -186,7 +186,7 @@ Options :\n\
-g --groups comma separated list of groups a container must have to be displayed\n", -g --groups comma separated list of groups a container must have to be displayed\n",
.options = my_longopts, .options = my_longopts,
.parser = my_parser, .parser = my_parser,
.ls_nesting = MAX_NESTLVL, .ls_nesting = 0,
}; };
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
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