You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another approach would be to keep sudo alive, so we don't need to check for it.
keep_sudo_alive() {
while true; do
sudo -n true
sleep 60 # Adjust the sleep time as needed
done
}
keep_sudo_alive &
keep_sudo_alive_pid=$!
make
kill "${keep_sudo_alive_pid}"
Is your feature request related to a problem? Please describe.
The user will lose sudo permission after 5 minutes without using it.
Most computers will take more than 5 minutes to compile bitcoin, so we need a step that prompts the user for a password again.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: