Merge pull request #17862 from avsm/sudo-under-sandbox-exec

This commit is contained in:
Mike McQuaid 2024-07-25 19:39:04 +01:00 committed by GitHub
commit c49238c607
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ fi
# Reset sudo timestamp to avoid running unauthorized sudo commands
if command -v sudo >/dev/null
then
sudo --reset-timestamp
sudo --reset-timestamp 2>/dev/null || true
fi
quiet_cd() {