]> git.proxmox.com Git - pve-common.git/commit
procfs tools: modernize write_proc_entry
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 13 Nov 2022 12:54:57 +0000 (13:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 13 Nov 2022 12:54:59 +0000 (13:54 +0100)
commit65ca1743412e94068ee0319b3a5db10718351fdf
tree5f2c2bd662bd523657de73d5f58359bbbb5ae180
parent8b7b0cc5febef517b1587391bfd2a94f70da1d6c
procfs tools: modernize write_proc_entry

that unless stuff is just hard to read and against our code style.

note that there's also basically the same helper in SysFSTools, and
neither is really dependent on sysfs or procfs semantics, so both
probably should go away..

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