mount-setup: create full paths when mounting

This commit is contained in:
Lennart Poettering 2010-04-10 04:51:14 +02:00
parent 2c696a96a2
commit 11857f8daf

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 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],