From 5080080a3677fe0e67995634bda46de73b502713 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 10 Oct 2017 12:54:35 +0200 Subject: [PATCH] Anything but true means it failed Signed-off-by: Joas Schilling --- core/Command/Encryption/ChangeKeyStorageRoot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/Encryption/ChangeKeyStorageRoot.php b/core/Command/Encryption/ChangeKeyStorageRoot.php index 7c6ad5d612..5fbef6a0c9 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"); }