At the time of filing this bug report, I used to use pstree to determine if a 
script was called from cron or an interactive terminal, but I found a simpler 
solution by inspecting the $TERM environment variable.
I guess the number of "users affected" dropped by 1 ;)
Thanks for your updates guys.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629839

Title:
  pstree reports "/proc/xxxx: No such file or directory"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/psmisc/+bug/1629839/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to