diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/caps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/caps.c b/src/daemon/caps.c index f7b6658b..25a09fdf 100644 --- a/src/daemon/caps.c +++ b/src/daemon/caps.c @@ -112,9 +112,9 @@ void pa_drop_caps(void) { #ifndef __OPTIMIZE__ /* Valgrind doesn't not know set_caps, so we bypass it here -- but - * only in development builts.*/ + * only in development builds.*/ - if (getenv("VALGRIND") && !pa_have_caps()) + if (pa_in_valgrind() && !pa_have_caps()) return; #endif |