mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
conf: ignore the prefix if the config file name is an absolute path
Fixes: $ export PIPEWIRE_CONFIG_PREFIX=/usr/share/pipewire $ pipewire -c /etc/pipewire/bar.conf [W][11925.530591][ conf.c: 253 conf_load()] config 0x560039ac6510: error loading config '/usr/share/pipewire//etc/pipewire/pipewire.conf': No such file or directory [W][11925.530721][ context.c: 178 try_load_conf()] context 0x560039ac6190: can't load config /usr/share/pipewire//etc/pipewire/pipewire.conf: No such file or directory
This commit is contained in:
parent
b1ac776ff0
commit
fb2d35895e
4 changed files with 102 additions and 8 deletions
|
|
@ -63,6 +63,7 @@ test('test lib',
|
|||
test('test context',
|
||||
executable('test-context',
|
||||
'test-context.c',
|
||||
'test-config.c',
|
||||
include_directories: pwtest_inc,
|
||||
link_with: pwtest_lib)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue