aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_cache.cpp')
-rw-r--r--toolsrc/src/commands_cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_cache.cpp b/toolsrc/src/commands_cache.cpp
index e255b5dff..417799abb 100644
--- a/toolsrc/src/commands_cache.cpp
+++ b/toolsrc/src/commands_cache.cpp
@@ -46,7 +46,7 @@ namespace vcpkg::Commands::Cache
if (binary_paragraphs.empty())
{
System::println("No packages are cached.");
- exit(EXIT_SUCCESS);
+ Checks::exit_success(VCPKG_LINE_INFO);
}
if (args.command_arguments.size() == 0)
@@ -72,6 +72,6 @@ namespace vcpkg::Commands::Cache
}
}
- exit(EXIT_SUCCESS);
+ Checks::exit_success(VCPKG_LINE_INFO);
}
}