Commit 91656ce5 by Joerg Gollnick Committed by Daniel Lezcano

Fix mntflags initialization

Dear all, while setting up a container on x86_64 (archlinux host/guest) I had trouble with mounting dev/pts and others from container.fstab and a ssh login does not work (only ssh container bash -i gives you a shell) The cause is that conf.c does not initialize mntflags. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 2175f893
......@@ -881,6 +881,7 @@ static int parse_mntopts(const char *mntopts, unsigned long *mntflags,
char *p, *saveptr = NULL;
*mntdata = NULL;
*mntflags = 0L;
if (!mntopts)
return 0;
......
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