X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=server-info.c;h=4098ca2b5c166c32cfe4aea9d1bff2e6593e9a60;hb=a97a74686d70a318cd802003498054cc1e8b0ae2;hp=906ce5b27242ca1e415a5410135d58f1c000e8b0;hpb=983e9b63aecf1923ef5809fe13ed107105627262;p=git.git diff --git a/server-info.c b/server-info.c index 906ce5b27..4098ca2b5 100644 --- a/server-info.c +++ b/server-info.c @@ -246,7 +246,7 @@ int update_server_info(int force) errs = errs | update_info_packs(force); /* remove leftover rev-cache file if there is any */ - unlink(git_path("info/rev-cache")); + unlink_or_warn(git_path("info/rev-cache")); return errs; }