From 8b5060f48848141f15e57a3a9f5f03b69b2f9f76 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 7 Feb 2021 13:03:05 +0100 Subject: [PATCH] [ceph/mgr] create mgr directory with -p --- ceph/ceph-mgr-create-start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph/ceph-mgr-create-start b/ceph/ceph-mgr-create-start index e47cf4b..011f754 100755 --- a/ceph/ceph-mgr-create-start +++ b/ceph/ceph-mgr-create-start @@ -10,7 +10,7 @@ if [ -e "$MGR_PATH" ]; then exit 1 fi -mkdir "$MGR_PATH" +mkdir -p "$MGR_PATH" chown ceph:ceph "$MGR_PATH" touch "$MGR_PATH/sysvinit"