mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 21:04:08 +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",
|
||||
.options = my_longopts,
|
||||
.parser = my_parser,
|
||||
.ls_nesting = MAX_NESTLVL,
|
||||
.ls_nesting = 0,
|
||||
};
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
Loading…
Reference in New Issue
Block a user