Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grml-hostname: improve regex for hostname matching [Closes: issue1005]
Do not trust on output of hostname(1) as this might not necessarily be what's used inside /etc/hosts. This is supposed to work on Grml systems as well as on Debian. While at it also use same formating WRT whitespace chars when replacing the localhost line(s).
- Loading branch information