diff options
Diffstat (limited to 'src/firemon')
-rw-r--r-- | src/firemon/firemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c index 5861e35ee..268cc0b75 100644 --- a/src/firemon/firemon.c +++ b/src/firemon/firemon.c | |||
@@ -266,10 +266,11 @@ int main(int argc, char **argv) { | |||
266 | print_procs = 0; | 266 | print_procs = 0; |
267 | } | 267 | } |
268 | 268 | ||
269 | if (getuid() == 0) | 269 | if (getuid() == 0) { |
270 | if (!arg_tree) | 270 | if (!arg_tree) |
271 | tree((pid_t) pid); | 271 | tree((pid_t) pid); |
272 | procevent((pid_t) pid); | 272 | procevent((pid_t) pid); |
273 | } | ||
273 | 274 | ||
274 | return 0; | 275 | return 0; |
275 | } | 276 | } |