diff options
author | Robin Appelman <robin@icewind.nl> | 2023-07-25 15:16:54 +0200 |
---|---|---|
committer | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-12-05 09:47:03 +0100 |
commit | 15bed77a223ff0d7699b7ab52d722e9984223a5c (patch) | |
tree | d7a4384d9ccc603fbcdb25260ed7dee28f776f61 /lib | |
parent | fbc0f657112c58fa1f3b2c58b9b4606d27d129b5 (diff) | |
download | nextcloud-server-15bed77a223ff0d7699b7ab52d722e9984223a5c.tar.gz nextcloud-server-15bed77a223ff0d7699b7ab52d722e9984223a5c.zip |
setup filesystem wrappers before we mark the root as setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/SetupManager.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php index 469102e21cf..69d80a90b7a 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -335,12 +335,13 @@ class SetupManager { if ($this->rootSetup) { return; } + + $this->setupBuiltinWrappers(); + $this->rootSetup = true; $this->eventLogger->start('fs:setup:root', 'Setup root filesystem'); - $this->setupBuiltinWrappers(); - $rootMounts = $this->mountProviderCollection->getRootMounts(); foreach ($rootMounts as $rootMountProvider) { $this->mountManager->addMount($rootMountProvider); |