diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 097085c10a9..91f206b238f 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