diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-23 15:45:53 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-06-23 15:45:53 +0300 |
commit | c86e129ce90c65de92172676b3798a8b48589b58 (patch) | |
tree | 3b96089aafb02a057e1862f36ab865d4b7e069dc /lib/private/updater.php | |
parent | fe42553e8a034ca246698144b03dc4570fe0b826 (diff) |
[updater] keep maintenance active on failure and mark failure in red
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r-- | lib/private/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php index 1b17face2e0..72998c4b3d2 100644 --- a/lib/private/updater.php +++ b/lib/private/updater.php @@ -200,7 +200,7 @@ class Updater extends BasicEmitter { $this->emit('\OC\Updater', 'updateEnd', array($success)); - if(!$wasMaintenanceModeEnabled) { + if(!$wasMaintenanceModeEnabled && $success) { $this->config->setSystemValue('maintenance', false); $this->emit('\OC\Updater', 'maintenanceDisabled'); } else { |