projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7146e1
)
mount: fewer warnings in a mount pt is non-mandatory
author
Robert Swiecki
<robert@swiecki.net>
Sun, 28 May 2017 12:51:09 +0000
(14:51 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Sun, 28 May 2017 12:51:09 +0000
(14:51 +0200)
mount.c
patch
|
blob
|
history
diff --git
a/mount.c
b/mount.c
index 1dbca037190f93f90e20ee49724e588ab62ec70e..8d9446e8f1174cf0beed52457bb3359afad08365 100644
(file)
--- a/
mount.c
+++ b/
mount.c
@@
-376,7
+376,11
@@
bool mountAddMountPt(struct nsjconf_t * nsjconf, const char *src, const char *ds
free((void *)p->src);
p->src = rp;
} else {
- PLOG_W("realpath('%s') failed", p->src);
+ if (mandatory) {
+ PLOG_W("realpath('%s') failed", p->src);
+ } else {
+ PLOG_D("realpath('%s') failed", p->src);
+ }
}
}