]> git.proxmox.com Git - pve-common.git/commit - src/PVE/Tools.pm
tools: sendmail: code cleanup, factor out some noise
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 Oct 2021 09:21:17 +0000 (11:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 Oct 2021 09:22:41 +0000 (11:22 +0200)
commit9915a41bb63707bbf29ad9affe14408051441501
treef773400c3add6d0237920684bd41b4fd6a4bd1ef
parent7ac222d137e4ca5328a819167772c5306a6af07f
tools: sendmail: code cleanup, factor out some noise

Reduce by a few lines in general and move out checking the address to
avoid to much (repeated) inline noise..

no semantic change intended.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Tools.pm