aboutsummaryrefslogtreecommitdiff
path: root/tools/gccld/gccld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gccld/gccld.cpp')
-rw-r--r--tools/gccld/gccld.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 097085c10a..91f206b238 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -124,10 +124,7 @@ static void EmitShellScript(char **argv) {
std::cerr << "Could not find llvm-stub.exe executable!\n";
exit(1);
}
- if (sys::CopyFile(OutputFilename, llvmstub)) {
- std::cerr << "Could not copy the llvm-stub.exe executable!\n";
- exit(1);
- }
+ sys::CopyFile(OutputFilename, llvmstub);
return;
#endif