]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
fix: Fix --trim-method mtime
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 28 Jan 2025 17:07:23 +0000 (18:07 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 28 Jan 2025 17:07:23 +0000 (18:07 +0100)
src/ccache/core/mainoptions.cpp

index 0e8875374faa09c64df8067402e725460b4f01f7..d16a22e3c1a0dff145e1962a3cdec3b600819eed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021-2024 Joel Rosdahl and other contributors
+// Copyright (C) 2021-2025 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -561,7 +561,7 @@ process_main_options(int argc, const char* const* argv)
     }
 
     case TRIM_METHOD:
-      trim_lru_mtime = (arg == "ctime");
+      trim_lru_mtime = (arg == "mtime");
       break;
 
     case TRIM_RECOMPRESS: