diff options
author | Pascal Terjan <pterjan@mageia.org> | 2018-04-30 11:42:35 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2018-06-02 16:37:08 +0000 |
commit | 7170818fda5d95f449636213172890005dd12ddc (patch) | |
tree | 8dedda10d6574acc960e9c261b84e60420884fcf | |
parent | 4f1d24e6ffb5f0425a33bbc1c0f5e4f5ea2a1032 (diff) | |
download | iurt-7170818fda5d95f449636213172890005dd12ddc.tar iurt-7170818fda5d95f449636213172890005dd12ddc.tar.gz iurt-7170818fda5d95f449636213172890005dd12ddc.tar.bz2 iurt-7170818fda5d95f449636213172890005dd12ddc.tar.xz iurt-7170818fda5d95f449636213172890005dd12ddc.zip |
Don't report ok status until we are done copying files
This is very unlikely to be a bug as we don't write
this status to the file at that time anyway but this
is more correct.
-rwxr-xr-x | iurt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -865,8 +865,8 @@ retry: print $f "$srpm build ok"; } - $run{status}{$srpm} = 'ok'; if ($run{debug}) { + $run{status}{$srpm} = 'ok'; plog("debug mode, skip other packages"); exit(); } elsif ($run{group}) { @@ -900,6 +900,7 @@ retry: } } } + $run{status}{$srpm} = 'ok'; return $srpm; } |