media-session: load with-* files from confdatadir

Fixes #1193
This commit is contained in:
Wim Taymans 2021-05-17 18:19:50 +02:00
parent a21c7f8457
commit 49644e4c79

View file

@ -2337,7 +2337,7 @@ static int collect_modules(struct impl *impl, const char *str)
int count = 0;
if ((dir = getenv("PIPEWIRE_CONFIG_DIR")) == NULL)
dir = PIPEWIRE_CONFIG_DIR;
dir = PIPEWIRE_CONFDATADIR;
if (dir == NULL)
return -ENOENT;