mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
Only warn when running as root and not --system.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1121 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f3d4924473
commit
0762af2aee
1 changed files with 1 additions and 2 deletions
|
|
@ -437,8 +437,7 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
|
||||
if (real_root && !conf->system_instance) {
|
||||
pa_log(__FILE__": This program is not intended to be run as root (unless --system is specified).");
|
||||
goto finish;
|
||||
pa_log_warning(__FILE__": This program is not intended to be run as root (unless --system is specified).");
|
||||
} else if (!real_root && conf->system_instance) {
|
||||
pa_log(__FILE__": Root priviliges required.");
|
||||
goto finish;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue