pulseaudio: add 17.0
This commit is contained in:
14
pulseaudio/0003-no-root-warn.diff
Normal file
14
pulseaudio/0003-no-root-warn.diff
Normal file
@@ -0,0 +1,14 @@
|
||||
--- ./src/daemon/main.c.orig 2015-10-30 07:16:48.000000000 -0500
|
||||
+++ ./src/daemon/main.c 2016-01-07 15:05:42.131126245 -0600
|
||||
@@ -647,10 +647,8 @@
|
||||
}
|
||||
|
||||
#ifdef HAVE_GETUID
|
||||
- if (getuid() == 0 && !conf->system_instance)
|
||||
- pa_log_warn(_("This program is not intended to be run as root (unless --system is specified)."));
|
||||
#ifndef HAVE_DBUS /* A similar, only a notice worthy check was done earlier, if D-Bus is enabled. */
|
||||
- else if (getuid() != 0 && conf->system_instance) {
|
||||
+ if (getuid() != 0 && conf->system_instance) {
|
||||
pa_log(_("Root privileges required."));
|
||||
goto finish;
|
||||
}
|
||||
Reference in New Issue
Block a user