aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_create.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:45:39 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:45:39 -0700
commit4bc91f1f269aa72dccd51a8f07134e4e66701793 (patch)
treedab6f286b6f07b47d73a8bb05b16db66fe1dadd1 /toolsrc/src/commands_create.cpp
parent27bc6060203b5232bfb3b022b08ef66f64fb3ba9 (diff)
downloadvcpkg-4bc91f1f269aa72dccd51a8f07134e4e66701793.tar.gz
vcpkg-4bc91f1f269aa72dccd51a8f07134e4e66701793.zip
[commands] Use Checks::exit_fail/success/with_code()
Diffstat (limited to 'toolsrc/src/commands_create.cpp')
-rw-r--r--toolsrc/src/commands_create.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_create.cpp b/toolsrc/src/commands_create.cpp
index 2c3e02877..23fac3f9d 100644
--- a/toolsrc/src/commands_create.cpp
+++ b/toolsrc/src/commands_create.cpp
@@ -36,6 +36,6 @@ namespace vcpkg::Commands::Create
}
const std::wstring cmd_launch_cmake = make_cmake_cmd(cmake_exe, paths.ports_cmake, cmake_args);
- exit(System::cmd_execute_clean(cmd_launch_cmake));
+ Checks::exit_with_code(VCPKG_LINE_INFO, System::cmd_execute_clean(cmd_launch_cmake));
}
}