diff --git a/install.sh b/install.sh index d9f928a532..8cb97fd75f 100755 --- a/install.sh +++ b/install.sh @@ -456,7 +456,7 @@ pstree() { for pid in $@; do echo $pid # Find and show pstree for child processes of $pid - $(ps -o ppid= -o pid=) | while read parent child; do + ps -o ppid= -o pid= | while read parent child; do [ $parent -ne $pid ] || pstree $child done done