From 5ba50bcae1ea5ec1f5419fb9d5a9eb718a9764ab Mon Sep 17 00:00:00 2001 From: startx2017 Date: Fri, 7 Jul 2017 08:57:40 -0400 Subject: fixing the previous fix --- src/firemon/firemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) { print_procs = 0; } - if (getuid() == 0) + if (getuid() == 0) { if (!arg_tree) tree((pid_t) pid); procevent((pid_t) pid); + } return 0; } -- cgit v1.2.3-54-g00ecf