mount-setup: create full paths when mounting

This commit is contained in:
Lennart Poettering
2010-04-10 18:00:21 +02:00
parent 2c696a96a2
commit 11857f8daf
+1 -1
View File
@@ -90,7 +90,7 @@ static int mount_one(const char *t[]) {
/* The access mode here doesn't really matter too much, since
* 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.",
t[MOUNT_WHAT],