X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=server-info.c;h=4098ca2b5c166c32cfe4aea9d1bff2e6593e9a60;hb=6e31f3dbb59c70cae04be3a1fc620e16d247e7d7;hp=906ce5b27242ca1e415a5410135d58f1c000e8b0;hpb=f5b223abfdc01455d42ed005b4fd9330b06c2967;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; }