mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-08 04:36:21 +00:00
lxc-ls: set ls_nesting to 0 initially
Otherwise users will always get nested containers listed. Signed-off-by: Christian Brauner <christian.brauner@mailbox.org> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
21e019c29a
commit
8f43e53503
@ -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[])
|
||||||
|
Loading…
Reference in New Issue
Block a user