Francois Gouget : winetest/gather: Don' t issue an error if outdated is already gone.
Module: tools Branch: master Commit: be316759900f806c0cf164df1ea3278a49129578 URL: http://source.winehq.org/git/tools.git/?a=commit;h=be316759900f806c0cf164df1... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Jun 12 11:15:12 2017 +0200 winetest/gather: Don't issue an error if outdated is already gone. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- winetest/gather | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winetest/gather b/winetest/gather index 2886bc5..fe1dfb4 100755 --- a/winetest/gather +++ b/winetest/gather @@ -821,7 +821,8 @@ if (!rename "$filename.new", "$filename") write_totals(\@groups); DONE: -if (!unlink $outdated) { +if (!unlink $outdated and !$!{ENOENT}) +{ error("unable to unlink '$outdated': $!\n"); exit 3; }
participants (1)
-
Alexandre Julliard