Skip to content

Commit c9a168b

Browse files
committed
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>
1 parent fb1963a commit c9a168b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/Command/Maintenance/UpdateHtaccess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
2424
$output->writeln('.htaccess has been updated');
2525
return 0;
2626
} else {
27-
$output->writeln('<error>Error updating .htaccess file, not enough permissions, not enough free space or "overwrite.cli.url" set to an invalid URL?</error>');
27+
$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>');
2828
return 1;
2929
}
3030
}

0 commit comments

Comments
 (0)