diff --git a/nohang_notify_helper b/nohang_notify_helper index 495ddd0..2d7bb85 100755 --- a/nohang_notify_helper +++ b/nohang_notify_helper @@ -43,7 +43,7 @@ def re_pid_environ(pid): for i in env_list: if i.startswith(user_env): user = i - if user == 'root': + if user == 'USER=root': return None continue