aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/top.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-11-11 08:57:44 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-11-11 08:57:44 -0500
commit672fa03d65e8ffe0cca6e79d374caf0bf9988d20 (patch)
tree3363685b06fc627f35c03cce80350ae823c412e5 /src/firemon/top.c
parenttesting (diff)
downloadfirejail-672fa03d65e8ffe0cca6e79d374caf0bf9988d20.tar.gz
firejail-672fa03d65e8ffe0cca6e79d374caf0bf9988d20.tar.zst
firejail-672fa03d65e8ffe0cca6e79d374caf0bf9988d20.zip
hidepid part 1
Diffstat (limited to 'src/firemon/top.c')
-rw-r--r--src/firemon/top.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/firemon/top.c b/src/firemon/top.c
index a6da6f64e..b804761dd 100644
--- a/src/firemon/top.c
+++ b/src/firemon/top.c
@@ -232,9 +232,6 @@ void head_print(int col, int row) {
232} 232}
233 233
234void top(void) { 234void top(void) {
235 if (getuid() == 0)
236 firemon_drop_privs();
237
238 while (1) { 235 while (1) {
239 // clear linked list 236 // clear linked list
240 head_clear(); 237 head_clear();