Update install.sh

Signed-off-by: Joakim Roubert <joakimr@axis.com>
pull/747/head
Joakim Roubert 2019-09-28 14:29:49 +02:00 committed by GitHub
parent 2b5eff7237
commit ce388e3788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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