From c5c2d65edec606a7879aa9385f85dd31cc6c6725 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Sat, 22 Jun 2019 02:33:59 +0900 Subject: [PATCH] fix notify helper --- nohang_notify_helper | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nohang_notify_helper b/nohang_notify_helper index e04939f..d3b9625 100755 --- a/nohang_notify_helper +++ b/nohang_notify_helper @@ -104,6 +104,8 @@ def re_pid_environ(pid): for i in env_list: if i.startswith(user_env): user = i + if user == 'root': + return None continue if i.startswith(display_env):