chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: automatically detect SysV init dirs
[elogind.git]
/
mount-setup.c
diff --git
a/mount-setup.c
b/mount-setup.c
index 12605ebb4d158c9614be932f1b660b778c732ebb..c6a471237be8783a46bcb46965e807545bd511e9 100644
(file)
--- a/
mount-setup.c
+++ b/
mount-setup.c
@@
-85,6
+85,10
@@
static int mount_one(const char *t[]) {
if (r > 0)
return 0;
if (r > 0)
return 0;
+ /* The access mode here doesn't really matter too much, since
+ * the mounted file system will take precedence anyway. */
+ mkdir(t[MOUNT_WHERE], 0755);
+
log_debug("Mounting %s to %s of type %s with options %s.",
t[MOUNT_WHAT],
t[MOUNT_WHERE],
log_debug("Mounting %s to %s of type %s with options %s.",
t[MOUNT_WHAT],
t[MOUNT_WHERE],