Skip to content

Commit 90c96d1

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 <[email protected]>
1 parent bf1446a commit 90c96d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)