From c9a168b0564830fb2d43e265ecc160063111b5ca Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 22 Dec 2025 12:18:06 +0100 Subject: [PATCH] fix: changed wording of error for occ maintenance:update:htaccess This adds a hint to the error message that file creation may also have failed. Signed-off-by: Marc --- core/Command/Maintenance/UpdateHtaccess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/Maintenance/UpdateHtaccess.php b/core/Command/Maintenance/UpdateHtaccess.php index eeff3bf8c62..625c028d57d 100644 --- a/core/Command/Maintenance/UpdateHtaccess.php +++ b/core/Command/Maintenance/UpdateHtaccess.php @@ -24,7 +24,7 @@ class UpdateHtaccess extends Command { $output->writeln('.htaccess has been updated'); return 0; } else { - $output->writeln('Error updating .htaccess file, not enough permissions, not enough free space or "overwrite.cli.url" set to an invalid URL?'); + $output->writeln('Error updating (or creating) .htaccess file, not enough permissions, not enough free space or "overwrite.cli.url" set to an invalid URL?'); return 1; } }