From 4bc91f1f269aa72dccd51a8f07134e4e66701793 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 22 Mar 2017 17:45:39 -0700 Subject: [commands] Use Checks::exit_fail/success/with_code() --- toolsrc/src/commands_remove.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolsrc/src/commands_remove.cpp') diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index 7e4228496..e6677d740 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -189,7 +189,7 @@ namespace vcpkg::Commands::Remove System::println(System::color::warning, "Additional packages (*) need to be removed to complete this operation.\n" "If you are sure you want to remove them, run the command with the --recurse option"); - exit(EXIT_FAILURE); + Checks::exit_fail(VCPKG_LINE_INFO); } for (const package_spec_with_remove_plan& action : remove_plan) @@ -219,6 +219,6 @@ namespace vcpkg::Commands::Remove } } - exit(EXIT_SUCCESS); + Checks::exit_success(VCPKG_LINE_INFO); } } -- cgit v1.2.3