Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac keeps asking for sudo password after uninstalling the utility #50

Closed
boof-fo opened this issue Feb 5, 2023 · 3 comments
Closed
Labels
⏱️ waiting Waiting for response

Comments

@boof-fo
Copy link

boof-fo commented Feb 5, 2023

What is the issue? (required)
My mac keeps asking for sudo password even after I uninstalled the app. I know it's asking the password because of Battery since I've opened Activity Monitor and I checked which files were open in the bash process that shows the sudo password prompt. It shows "/usr/local/bin/battery" but the file has been removed.

What exactly did you do to produce the issue? (required)
I uninstalled it through the command "battery uninstall". It didn't work so I tried reinstalling it and uninstalling it through brew. Didn't work either.

@actuallymentor
Copy link
Owner

Can you try running: pkill -f "/usr/local/bin/battery.*"?

@actuallymentor actuallymentor added the ⏱️ waiting Waiting for response label Feb 5, 2023
@boof-fo
Copy link
Author

boof-fo commented Feb 6, 2023

Thank you, it worked

@actuallymentor
Copy link
Owner

Thanks for confirming. I added an auto-kill to the uninstall script, so it should not happen again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱️ waiting Waiting for response
Projects
None yet
Development

No branches or pull requests

2 participants