summaryrefslogtreecommitdiffstats
path: root/api/logic/FileSystem.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-10-31 22:44:23 +0100
committerPetr Mrázek <peterix@gmail.com>2018-10-31 22:44:23 +0100
commitd5037d4f795242998e1a296a592df460a545b6f6 (patch)
tree60e350108f767362ca44ab5e3b1ba43cd4f64bcf /api/logic/FileSystem.cpp
parentaef0ccb1a25ff9989256796dcb5264ff936f81b7 (diff)
downloadMultiMC-d5037d4f795242998e1a296a592df460a545b6f6.tar
MultiMC-d5037d4f795242998e1a296a592df460a545b6f6.tar.gz
MultiMC-d5037d4f795242998e1a296a592df460a545b6f6.tar.lz
MultiMC-d5037d4f795242998e1a296a592df460a545b6f6.tar.xz
MultiMC-d5037d4f795242998e1a296a592df460a545b6f6.zip
GH-2412: collect dead processes on linux properly
Issues were caused by use of `popen()` with no `pclose()` counterpart...
Diffstat (limited to 'api/logic/FileSystem.cpp')
-rw-r--r--api/logic/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/FileSystem.cpp b/api/logic/FileSystem.cpp
index 1d8b290d..7e3c1841 100644
--- a/api/logic/FileSystem.cpp
+++ b/api/logic/FileSystem.cpp
@@ -294,7 +294,7 @@ QString NormalizePath(QString path)
}
}
-QString badFilenameChars = "\"\\/?<>:*|!";
+QString badFilenameChars = "\"\\/?<>:*|!+";
QString RemoveInvalidFilenameChars(QString string, QChar replaceWith)
{