diff --git a/src/pipewire/conf.c b/src/pipewire/conf.c index c0fc68c66..541b0fdc6 100644 --- a/src/pipewire/conf.c +++ b/src/pipewire/conf.c @@ -1270,8 +1270,12 @@ int pw_conf_match_rules(const char *str, size_t len, const char *location, } } } - if (!have_match || !have_actions) + if (!have_match) continue; + if (!have_actions) { + pw_log_warn("no actions for match rule '%.*s'", (int)len, str); + continue; + } while (spa_json_get_string(&actions, key, sizeof(key)) > 0) { int res, len;