From 91464caa397c5ccacd3ae0d106913f51eef160b8 Mon Sep 17 00:00:00 2001 From: GreyXor Date: Sat, 19 Oct 2024 02:43:57 +0200 Subject: [PATCH] fix: add eol in dav command and use success const as return code Signed-off-by: GreyXor --- apps/dav/lib/Command/FixCalendarSyncCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/dav/lib/Command/FixCalendarSyncCommand.php b/apps/dav/lib/Command/FixCalendarSyncCommand.php index bb269c92e15..2611787186f 100644 --- a/apps/dav/lib/Command/FixCalendarSyncCommand.php +++ b/apps/dav/lib/Command/FixCalendarSyncCommand.php @@ -54,7 +54,8 @@ class FixCalendarSyncCommand extends Command { }); $progress->finish(); } - return 0; + $output->writeln(''); + return self::SUCCESS; } private function fixUserCalendars(IUser $user, ?ProgressBar $progress = null): void {