summaryrefslogtreecommitdiff
path: root/tools/lpgen/translate.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lpgen/translate.js')
-rw-r--r--tools/lpgen/translate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/translate.js b/tools/lpgen/translate.js
index 757364c2f2..70b133dde1 100644
--- a/tools/lpgen/translate.js
+++ b/tools/lpgen/translate.js
@@ -295,7 +295,7 @@ if (!WScript.Arguments.Named.Item("langpack") & !WScript.Arguments.Named.Item("p
//Check file existense. If file not found, quit.
function CheckFileExist(file) {
- if (!FSO.FileExists(file)) {
+ if (!FSO.FileExists(file) && log) {
WScript.Echo("Can't find "+file)
};
}