From 11857f8daf5a6336865844dedff365f9fa22c8f4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Apr 2010 04:51:14 +0200 Subject: [PATCH] mount-setup: create full paths when mounting --- mount-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mount-setup.c b/mount-setup.c index a0eb75ca6..f3041941a 100644 --- a/mount-setup.c +++ b/mount-setup.c @@ -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], -- 2.30.2