summaryrefslogtreecommitdiff
path: root/shared/IFileOperation
diff options
context:
space:
mode:
Diffstat (limited to 'shared/IFileOperation')
-rw-r--r--shared/IFileOperation/file_op.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/IFileOperation/file_op.cpp b/shared/IFileOperation/file_op.cpp
index 6180a561..cc8c58bc 100644
--- a/shared/IFileOperation/file_op.cpp
+++ b/shared/IFileOperation/file_op.cpp
@@ -53,6 +53,7 @@ bool fileop::moveToRecycleBin(const wchar_t* fileNames[],
hr = fileOp->SetOperationFlags(FOF_ALLOWUNDO |
FOF_NOCONFIRMATION |
FOF_SILENT |
+ FOFX_EARLYFAILURE |
FOF_NOERRORUI);
if (FAILED(hr))
{
bgstack15