file_storage: Do not ignore STATE_DIRECTORY if it's set to an actual path

This commit is contained in:
Marco Trevisan (Treviño) 2020-12-17 03:11:46 +01:00 committed by Benjamin Berg
parent b9cdb58a1a
commit 3faaa81257

View file

@ -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)