Skip to content

fix: replace misleading echo hint with plain file path in --quick-add#36

Merged
edmundlod merged 1 commit into
mainfrom
fix/quick-add-hint-message
May 27, 2026
Merged

fix: replace misleading echo hint with plain file path in --quick-add#36
edmundlod merged 1 commit into
mainfrom
fix/quick-add-hint-message

Conversation

@edmundlod

Copy link
Copy Markdown
Owner

The previous hint suggested running:

echo 'custom_hosts="${custom_hosts} domain.com"' >> /etc/postallow/custom_hosts

This appends a second custom_hosts= assignment to a file that already has one. While it works when sourced, it's messy and creates duplicate entries each time it's run.

Replace it with the file path and a plain instruction to edit the custom_hosts variable directly — the right approach regardless of whether the user has a single-line or multi-line continuation definition.

The previous hint suggested appending a second custom_hosts= assignment
to the file, which conflicts with the existing definition and creates
duplicates on repeated use. Replace it with the file path and a plain
instruction to edit the custom_hosts variable directly.
@edmundlod edmundlod merged commit cdd06c0 into main May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant