From 52c5408f61a0c3211897f874d578c41be4686d89 Mon Sep 17 00:00:00 2001 From: GreyXor Date: Wed, 15 Jan 2025 00:22:24 +0100 Subject: [PATCH] feat: use self failure for consistancy --- apps/dav/lib/Command/FixCalendarSyncCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);