diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-01-17 16:57:35 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-01-17 16:57:35 +0000 |
commit | cd3ac4e472a540181e91806466b7ad42811e334b (patch) | |
tree | cccb018a33cfc5afe79e89819907731a69e19e92 /emi | |
parent | 0bd0b36d146f3290d93eb6e52c6631c1e00c7e52 (diff) | |
download | iurt-cd3ac4e472a540181e91806466b7ad42811e334b.tar iurt-cd3ac4e472a540181e91806466b7ad42811e334b.tar.gz iurt-cd3ac4e472a540181e91806466b7ad42811e334b.tar.bz2 iurt-cd3ac4e472a540181e91806466b7ad42811e334b.tar.xz iurt-cd3ac4e472a540181e91806466b7ad42811e334b.zip |
Avoid concurrent emi processes.
It may be better to have two different locks so that ulri can start again earlier.
Diffstat (limited to 'emi')
-rwxr-xr-x | emi | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -167,9 +167,6 @@ sub todo_func { check_upload_tree(\%run, $done, \&done_func,); check_upload_tree(\%run, $todo, \&todo_func,); -# Once the tree is checked, ulri can be launched again -unlink $pidfile; - # # Decide what should be uploaded @@ -284,5 +281,6 @@ foreach my $prefix (keys %pkg_tree) { } } +unlink $pidfile; exit(); |