mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
file_storage: Do not ignore STATE_DIRECTORY if it's set to an actual path
This commit is contained in:
committed by
Benjamin Berg
parent
b9cdb58a1a
commit
3faaa81257
@ -66,6 +66,10 @@ get_storage_path (void)
|
|||||||
elems = g_strsplit (path, ":", -1);
|
elems = g_strsplit (path, ":", -1);
|
||||||
storage_path = g_strdup (elems[0]);
|
storage_path = g_strdup (elems[0]);
|
||||||
}
|
}
|
||||||
|
else if (*path)
|
||||||
|
{
|
||||||
|
storage_path = g_strdup (path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (storage_path == NULL)
|
if (storage_path == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user