Improved app cleaner guide
This commit is contained in:
parent
afb755960d
commit
5c29479b15
2 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if [ ${#processes[@]} -gt 0 ]; then
|
||||||
printf "%s\n" "Killing running processes..."
|
printf "%s\n" "Killing running processes..."
|
||||||
sleep 1
|
sleep 1
|
||||||
for process in "${processes[@]}"; do
|
for process in "${processes[@]}"; do
|
||||||
echo $process | awk '{print $1}' | xargs kill 2>&1 | grep -v "No such process"
|
echo $process | awk '{print $1}' | xargs sudo kill 2>&1 | grep -v "No such process"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue