[Swift-commit] cog r3846
swift at ci.uchicago.edu
swift at ci.uchicago.edu
Sat Nov 30 20:05:03 CST 2013
------------------------------------------------------------------------
r3846 | hategan | 2013-11-30 20:02:14 -0600 (Sat, 30 Nov 2013) | 1 line
don't try to clean soft image if it was never initialized in this worker (swift bug 1165)
------------------------------------------------------------------------
Index: modules/provider-coaster/resources/worker.pl
===================================================================
--- modules/provider-coaster/resources/worker.pl (revision 3845)
+++ modules/provider-coaster/resources/worker.pl (working copy)
@@ -1886,6 +1886,9 @@
sub cleanSoftImage() {
my $lock;
my $counter;
+ if (!defined $SOFT_IMAGE_DST) {
+ return;
+ }
open($lock, ">>$SOFT_IMAGE_DST/.lock");
if (!flock($lock, 2)) {
dieNicely("Cannot get exclusive lock on soft image directory: $!");
More information about the Swift-commit
mailing list