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() { uninstall() {
header_info 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" msg_info "Uninstalling $APP"
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
systemctl disable -q --now glances systemctl disable -q --now glances