mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
fix two typos (pierre, have you been sleeping? next time please the comments wrong but the code right, not the other way round! ;-))
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1170 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
a1e8b0968b
commit
a7cf5e0f2d
1 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ int pa_limit_caps(void) {
|
|||
cap_value_t nice_cap = CAP_SYS_NICE;
|
||||
|
||||
/* Only drop caps when called SUID */
|
||||
if (getuid() != 0)
|
||||
if (getuid() == 0)
|
||||
return 0;
|
||||
|
||||
caps = cap_init();
|
||||
|
|
@ -112,7 +112,7 @@ int pa_drop_caps(void) {
|
|||
int r = -1;
|
||||
|
||||
/* Only drop caps when called SUID */
|
||||
if (getuid() != 0)
|
||||
if (getuid() == 0)
|
||||
return 0;
|
||||
|
||||
caps = cap_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue