5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-03-09 12:58:35 +03:00

followup: avoid very long line through comment moval

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-11-12 14:16:01 +01:00
parent c1d62a9d54
commit 8bc99fda82

View File

@ -1007,8 +1007,8 @@ sub df {
my $res = eval { run_fork_with_timeout($timeout, $df) } // {};
warn $@ if $@;
# untaint the values
my ($blocks, $used, $bavail) = map { defined($_) ? (/^([\d\.e\-+]+)$/) : 0 } # can be in scientific notation
# untaint, but be flexible: PB usage can result in scientific notation
my ($blocks, $used, $bavail) = map { defined($_) ? (/^([\d\.e\-+]+)$/) : 0 }
$res->@{qw(blocks used bavail)};
return {