]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Don’t fail if CACHEDIR.TAG can’t be created
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 24 Aug 2019 12:30:16 +0000 (14:30 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 5 Sep 2019 20:04:43 +0000 (22:04 +0200)
Logging is enough.

src/ccache.cpp

index 1eaf6ec96f5940e8c24e3813c90b990f5058fb94..9ce4f1c4c0ec86027f423b1fe127ae4ee854d5e2 100644 (file)
@@ -1451,8 +1451,6 @@ to_cache(struct args* args, struct hash* depend_mode_hash)
       cc_log("Failed to create %s/CACHEDIR.TAG (%s)\n",
              first_level_dir,
              strerror(errno));
-      stats_update(STATS_ERROR);
-      failed();
     }
     free(first_level_dir);