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:
4c5aebf
)
mount: missing 'return false' if the mount fails
author
Robert Swiecki
<robert@swiecki.net>
Thu, 19 Oct 2017 13:46:31 +0000
(15:46 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Thu, 19 Oct 2017 13:46:31 +0000
(15:46 +0200)
mount.c
patch
|
blob
|
history
diff --git
a/mount.c
b/mount.c
index 2537c581e0e825d470c2b491a478fd18a7819b9f..64e657391b5414e8a6204c80187f6fa334d6de6d 100644
(file)
--- a/
mount.c
+++ b/
mount.c
@@
-207,6
+207,7
@@
static bool mountMount(struct mounts_t* mpt, const char* newroot, const char* tm
PLOG_W("mount('%s') src:'%s' dst:'%s' failed", mountDescribeMountPt(mpt),
srcpath, dst);
}
+ return false;
} else {
mpt->mounted = true;
}