aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f2312f248..7763ccd23 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3058,7 +3058,7 @@ int main(int arg_count, char const **arg_ptr) {
gb_printf("%.*s", LIT(odin_root_dir()));
return 0;
} else if (command == "clear-cache") {
- return try_clear_cache();
+ return try_clear_cache() ? 0 : 1;
} else {
String argv1 = {};
if (args.count > 1) {