diff options
-rw-r--r-- | src/lib/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/common.c b/src/lib/common.c index 1fd317d4f..872772ec7 100644 --- a/src/lib/common.c +++ b/src/lib/common.c | |||
@@ -277,7 +277,7 @@ int pid_hidepid(void) { | |||
277 | if (strstr(buf, "proc /proc proc")) { | 277 | if (strstr(buf, "proc /proc proc")) { |
278 | fclose(fp); | 278 | fclose(fp); |
279 | // check hidepid | 279 | // check hidepid |
280 | if (strstr(buf, "hidepid=2") || strstr(buf, "hidepid=1")) | 280 | if (strstr(buf, "hidepid=")) |
281 | return 1; | 281 | return 1; |
282 | return 0; | 282 | return 0; |
283 | } | 283 | } |