diff options
-rw-r--r-- | core/Command/Encryption/ChangeKeyStorageRoot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Encryption/ChangeKeyStorageRoot.php b/core/Command/Encryption/ChangeKeyStorageRoot.php index 7c6ad5d6126..5fbef6a0c91 100644 --- a/core/Command/Encryption/ChangeKeyStorageRoot.php +++ b/core/Command/Encryption/ChangeKeyStorageRoot.php @@ -146,7 +146,7 @@ class ChangeKeyStorageRoot extends Command { 'ownCloud will detect this folder as key storage root only if this file exists' ); - if ($result === false) { + if ($result !== true) { throw new \Exception("Can't write to new root folder. Please check the permissions and try again"); } |