From ce388e378892203dfdbca9abab47edc456d4e478 Mon Sep 17 00:00:00 2001 From: Joakim Roubert Date: Sat, 28 Sep 2019 14:29:49 +0200 Subject: [PATCH] Update install.sh Signed-off-by: Joakim Roubert --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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