Skip to content
Commit 40487e48 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

daemon: only call pw_log_set_level() if -v is actually given

Previous commit 69e935e8 unconditionally called pw_log_set_level() after
the option parsing. If pw_init() changed the logging level based on
PIPEWIRE_DEBUG, we'd now overwrite that change.

Call pw_log_set_level() only if -v is actually given on the commandline.
This means a commandline option will override PIPEWIRE_DEBUG if set but
that is intended.

Fixes 69e935e8
parent 69e935e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment