From 3faaa81257ab6b084eec761ceb2e51cc2c993889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 17 Dec 2020 03:11:46 +0100 Subject: [PATCH] file_storage: Do not ignore STATE_DIRECTORY if it's set to an actual path --- src/file_storage.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/file_storage.c b/src/file_storage.c index 158f35a..9e8151c 100644 --- a/src/file_storage.c +++ b/src/file_storage.c @@ -66,6 +66,10 @@ get_storage_path (void) elems = g_strsplit (path, ":", -1); storage_path = g_strdup (elems[0]); } + else if (*path) + { + storage_path = g_strdup (path); + } } if (storage_path == NULL)