daemon conf: "high-priority" setting isn't respected

The code got removed by accident during the cleanup in commit 9c438bcac6. So
this patch is needed to bring it back and make things work like documented.
This commit is contained in:
Pierre Ossman 2013-11-01 14:50:51 +01:00 committed by David Henningsson
parent 6e4335cc71
commit 4262d6a14f

View file

@ -900,7 +900,8 @@ int main(int argc, char *argv[]) {
#endif
pa_rtclock_hrtimer_enable();
pa_raise_priority(conf->nice_level);
if (conf->high_priority)
pa_raise_priority(conf->nice_level);
if (conf->system_instance)
if (change_user() < 0)