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_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolsrc/src/commands_edit.cpp') diff --git a/toolsrc/src/commands_edit.cpp b/toolsrc/src/commands_edit.cpp index 1252790af..d9cd627d2 100644 --- a/toolsrc/src/commands_edit.cpp +++ b/toolsrc/src/commands_edit.cpp @@ -72,6 +72,6 @@ namespace vcpkg::Commands::Edit } std::wstring cmdLine = Strings::wformat(LR"("%s" "%s" "%s" -n)", env_EDITOR, portpath.native(), (portpath / "portfile.cmake").native()); - exit(System::cmd_execute(cmdLine)); + Checks::exit_with_code(VCPKG_LINE_INFO, System::cmd_execute(cmdLine)); } } -- cgit v1.2.3