Commit 9226f31c authored by David Johnson's avatar David Johnson

Fix place where it seems to be possible and plausible that we get the

vzconf global lock, and don't release it if the necessary work has
already been done.
parent 93a3a065
......@@ -149,9 +149,11 @@ sub vz_rootPreConfig {
print STDERR "Could not get the vzinit lock after a long time!\n";
return -1;
}
#
return 0
if (-e "/var/run/openvz.ready");
# we must have the lock, so if we need to return right away, unlock
if (-e "/var/run/openvz.ready") {
TBScriptUnlock();
return 0;
}
# make sure filesystem is setup
# about the funny quoting: don't ask... emacs perl mode foo.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment