diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-10 12:54:35 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-03-01 17:30:59 +0100 |
commit | 5080080a3677fe0e67995634bda46de73b502713 (patch) | |
tree | 76b19b2b84c4134af6e86489cc7827a89fe1dd5d /core | |
parent | 0f3ba9444e8b683ba89e100b6a43cab70b3788b9 (diff) | |
download | nextcloud-server-5080080a3677fe0e67995634bda46de73b502713.tar.gz nextcloud-server-5080080a3677fe0e67995634bda46de73b502713.zip |
Anything but true means it failed
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-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"); } |