summaryrefslogtreecommitdiff
path: root/epan/filesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/filesystem.c')
-rw-r--r--epan/filesystem.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/filesystem.c b/epan/filesystem.c
index c7a5cbe3b5..d0a3b88fcb 100644
--- a/epan/filesystem.c
+++ b/epan/filesystem.c
@@ -1196,6 +1196,13 @@ create_persconffile_profile(const char *profilename, char **pf_dir_path_return)
if (profilename) {
/*
+ * Create the "Default" personal configuration files directory, if necessary.
+ */
+ if (create_persconffile_profile (NULL, &pf_dir_path_return) == -1) {
+ return -1;
+ }
+
+ /*
* Check if profiles directory exists.
* If not then create it.
*/