diff options
Diffstat (limited to 'src/daemon/caps.c')
-rw-r--r-- | src/daemon/caps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/caps.c b/src/daemon/caps.c index 8043230c..f92db743 100644 --- a/src/daemon/caps.c +++ b/src/daemon/caps.c @@ -97,9 +97,9 @@ int pa_limit_caps(void) { if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) < 0) goto fail; - + pa_log_info("dropped capabilities successfully."); - + r = 1; fail: @@ -119,12 +119,12 @@ int pa_drop_caps(void) { cap_clear(caps); prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0); - + if (cap_set_proc(caps) < 0) { pa_log("failed to drop capabilities: %s", pa_cstrerror(errno)); goto fail; } - + r = 0; fail: |