warn if filesize info couldn't be read due to error
This sh Signed-off-by: Tim Marx <t.marx@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
3918b96afa
commit
aa4594b1d1
@ -742,6 +742,8 @@ sub file_size_info {
|
||||
});
|
||||
};
|
||||
|
||||
warn $@ if $@;
|
||||
|
||||
return wantarray ? ($size, $format, $used, $parent) : $size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user