aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-11-11 08:12:43 +0000
committerFlorent Villard <warly@mandriva.com>2006-11-11 08:12:43 +0000
commite00ac60cf3191d0b351a3b09003dedcd0e5dd7dc (patch)
tree176a1649fec5f73b53018592a02f69a9ff9a70ff /emi
parent8b0bf9a0d12fe8f8535e34220fdc7308f8d16039 (diff)
downloadiurt-e00ac60cf3191d0b351a3b09003dedcd0e5dd7dc.tar
iurt-e00ac60cf3191d0b351a3b09003dedcd0e5dd7dc.tar.gz
iurt-e00ac60cf3191d0b351a3b09003dedcd0e5dd7dc.tar.bz2
iurt-e00ac60cf3191d0b351a3b09003dedcd0e5dd7dc.tar.xz
iurt-e00ac60cf3191d0b351a3b09003dedcd0e5dd7dc.zip
unlink pidfile just after the tree check so that ulri can schedul new jobs
Diffstat (limited to 'emi')
-rwxr-xr-xemi3
1 files changed, 2 insertions, 1 deletions
diff --git a/emi b/emi
index e7fabe5..77774b4 100755
--- a/emi
+++ b/emi
@@ -130,6 +130,8 @@ check_upload_tree(\%run, $todo,
}
},
);
+# Once the tree is checked, ulri can be launched again
+unlink $pidfile;
foreach my $prefix (keys %pkg_tree) {
my $ok = 1;
@@ -213,6 +215,5 @@ foreach my $prefix (keys %pkg_tree) {
}
#dump_cache(\%run);
-unlink $pidfile;
exit;