mirror of
https://github.com/systemd/systemd.git
synced 2024-12-12 11:44:13 +08:00
mount-setup: create full paths when mounting
This commit is contained in:
parent
2c696a96a2
commit
11857f8daf
@ -90,7 +90,7 @@ static int mount_one(const char *t[]) {
|
|||||||
|
|
||||||
/* The access mode here doesn't really matter too much, since
|
/* The access mode here doesn't really matter too much, since
|
||||||
* the mounted file system will take precedence anyway. */
|
* the mounted file system will take precedence anyway. */
|
||||||
mkdir(t[MOUNT_WHERE], 0755);
|
mkdir_p(t[MOUNT_WHERE], 0755);
|
||||||
|
|
||||||
log_debug("Mounting %s to %s of type %s with options %s.",
|
log_debug("Mounting %s to %s of type %s with options %s.",
|
||||||
t[MOUNT_WHAT],
|
t[MOUNT_WHAT],
|
||||||
|
Loading…
Reference in New Issue
Block a user