summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/RealTimeSync/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/RealTimeSync/application.cpp')
-rw-r--r--FreeFileSync/Source/RealTimeSync/application.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/FreeFileSync/Source/RealTimeSync/application.cpp b/FreeFileSync/Source/RealTimeSync/application.cpp
index 087e04ba..80760349 100644
--- a/FreeFileSync/Source/RealTimeSync/application.cpp
+++ b/FreeFileSync/Source/RealTimeSync/application.cpp
@@ -188,7 +188,8 @@ void Application::onEnterEventLoop(wxEvent& event)
if (fileAvailable(filePath + ext))
filePath += ext;
#endif
- if (endsWithAsciiNoCase(filePath, Zstr(".ffs_real")))
+ if (endsWithAsciiNoCase(filePath, Zstr(".ffs_real")) ||
+ endsWithAsciiNoCase(filePath, Zstr(".ffs_batch")))
commandArgs.push_back(filePath);
else
throw FileError(replaceCpy(_("File %x does not contain a valid configuration."), L"%x", fmtPath(filePath)),
bgstack15