On 09/11/2017 09:23 AM, Wolfgang Bumiller wrote:
This function assumed df() will work or hang, but it can
also actually fail and return undef which results in
warnings - let's silence those.
Easily reproducible with a non existing path or an unsupported
one, e.g.: /proc
---
src/PVE/Tools.pm
This function assumed df() will work or hang, but it can
also actually fail and return undef which results in
warnings - let's silence those.
---
src/PVE/Tools.pm | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index 9ddcfda..7285c59