Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
my ($vmid, $vars, undef, undef) = @_;
my $skiplock_flag_fn = "/run/lxc/skiplock-$vmid";
my ($vmid, $vars, undef, undef) = @_;
my $skiplock_flag_fn = "/run/lxc/skiplock-$vmid";
- my $skiplock = 1 if -e $skiplock_flag_fn;
+ my $skiplock = -e $skiplock_flag_fn;
unlink $skiplock_flag_fn if $skiplock;
PVE::Cluster::check_cfs_quorum(); # only start if we have quorum
unlink $skiplock_flag_fn if $skiplock;
PVE::Cluster::check_cfs_quorum(); # only start if we have quorum