[PVE-User] Bug report: Syntax error in /etc/aliases
Musee Ullah
lae at lae.is
Tue Sep 3 12:39:05 CEST 2019
On 2019/09/03 3:14, Uwe Sauter wrote:
> I'd suggest to do:
> sed -i -e 's/^www:/www: /' /etc/aliases
>
> so that lines that were changed by a user are also caught.
just pointing out that consecutive package updates'll continuously add
more spaces with the above since it doesn't check if there's already a
space.
sed -E -i -e 's/^www:(\w)/www: \1/' /etc/aliases
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20190903/9d8a74ce/attachment.sig>
More information about the pve-user
mailing list