Update install.sh

Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
Joakim Roubert
2019-09-28 14:29:49 +02:00
committed by GitHub
parent 2b5eff7237
commit ce388e3788

View File

@@ -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