diff --git a/core/command/upgrade.php b/core/command/upgrade.php
index a16069c0a6..c45984d7a3 100644
--- a/core/command/upgrade.php
+++ b/core/command/upgrade.php
@@ -206,6 +206,12 @@ class Upgrade extends Command {
$updater->listen('\OC\Updater', 'resetLogLevel', function ($logLevel, $logLevelName) use($output) {
$output->writeln("Reset log level");
});
+ $updater->listen('\OC\Updater', 'startCheckCodeIntegrity', function () use($output) {
+ $output->writeln("Starting code integrity check...");
+ });
+ $updater->listen('\OC\Updater', 'finishedCheckCodeIntegrity', function () use($output) {
+ $output->writeln("Finished code integrity check");
+ });
if(OutputInterface::VERBOSITY_NORMAL < $output->getVerbosity()) {
$updater->listen('\OC\Updater', 'repairInfo', function ($message) use($output) {