diff --git a/apps/dav/lib/Command/FixCalendarSyncCommand.php b/apps/dav/lib/Command/FixCalendarSyncCommand.php index 2611787186f80..cb31355c10da1 100644 --- a/apps/dav/lib/Command/FixCalendarSyncCommand.php +++ b/apps/dav/lib/Command/FixCalendarSyncCommand.php @@ -43,7 +43,7 @@ public function execute(InputInterface $input, OutputInterface $output): int { $user = $this->userManager->get($userArg); if ($user === null) { $output->writeln("User $userArg does not exist"); - return 1; + return self::FAILURE; } $this->fixUserCalendars($user);