mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-01-26 10:03:52 +03:00
PVE::ReplicationTools::sync_guest - use integer compare for lastsync
This commit is contained in:
parent
ed283475d4
commit
81fa35e539
@ -237,7 +237,7 @@ sub sync_guest {
|
||||
|
||||
# delet old snapshot if exists
|
||||
cleanup_snapshot($disks_status, $snapname, $storage_config, $running, $ip, $lastsync) if
|
||||
$job->{lastsync} ne '0';
|
||||
$job->{lastsync} != 0;
|
||||
|
||||
$job->{lastsync} = $snap_time;
|
||||
$job->{state} = "ok";
|
||||
|
Loading…
x
Reference in New Issue
Block a user