aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 6fc0e32f0..a8ddf35f4 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -153,12 +153,7 @@ namespace vcpkg::Commands::Install
System::println(System::color::error, "The following files are already installed in %s and are in conflict with %s",
triplet_install_path.generic_string(),
binary_paragraph.spec);
- System::println("");
- for (const std::string& s : intersection)
- {
- System::println(" %s", s);
- }
- System::println("");
+ Strings::join(intersection, "\n ");
exit(EXIT_FAILURE);
}