Update glances.sh

tweak
This commit is contained in:
tteckster 2024-04-28 17:49:04 -04:00 committed by GitHub
parent 869a95d221
commit 01c54ab916
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,14 +96,6 @@ EOF
}
uninstall() {
header_info
read -r -p "Verbose mode? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
STD=""
else
STD="silent"
fi
header_info
msg_info "Uninstalling $APP"
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
systemctl disable -q --now glances