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 <mail@lpcvoid.com>
This commit is contained in:
Marc 2025-12-22 12:18:06 +01:00
parent fb1963a2f3
commit c9a168b056

View file

@ -24,7 +24,7 @@ class UpdateHtaccess extends Command {
$output->writeln('.htaccess has been updated');
return 0;
} else {
$output->writeln('<error>Error updating .htaccess file, not enough permissions, not enough free space or "overwrite.cli.url" set to an invalid URL?</error>');
$output->writeln('<error>Error updating (or creating) .htaccess file, not enough permissions, not enough free space or "overwrite.cli.url" set to an invalid URL?</error>');
return 1;
}
}