From 01775fe61654c55d6c18d956aa24a348bb7465ee Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 5 Jul 2017 13:58:33 +0200 Subject: [PATCH] Prevent crash if the plugins directory does not exist and cannot be created. --- src/app/paths/Paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/paths/Paths.cpp b/src/app/paths/Paths.cpp index fb81168f8..410202042 100644 --- a/src/app/paths/Paths.cpp +++ b/src/app/paths/Paths.cpp @@ -216,7 +216,7 @@ string Paths::getPackageMsPluginsDirPath () { } string Paths::getPluginsDirPath () { - return ::getWritableDirPath(::getAppPluginsDirPath()); + return ::getReadableDirPath(::getAppPluginsDirPath()); } string Paths::getRootCaFilePath () {