mirror of
git://git.proxmox.com/git/pve-common.git
synced 2024-12-22 21:33:47 +03:00
read_file: replace $versions->{$filename} with $cver
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
b8dc43668b
commit
04cba6c8c1
@ -240,11 +240,11 @@ sub read_file {
|
||||
|
||||
# file unchanged?
|
||||
if (!$ccinfo->{nocache} &&
|
||||
$inotify && $versions->{$filename} &&
|
||||
$inotify && $cver &&
|
||||
defined ($ccinfo->{data}) &&
|
||||
defined ($ccinfo->{version}) &&
|
||||
($ccinfo->{readonce} ||
|
||||
($ccinfo->{version} == $versions->{$filename}))) {
|
||||
($ccinfo->{version} == $cver))) {
|
||||
|
||||
my $ret;
|
||||
if (!$noclone && ref ($ccinfo->{data})) {
|
||||
|
Loading…
Reference in New Issue
Block a user