Merge pull request #17862 from avsm/sudo-under-sandbox-exec
This commit is contained in:
commit
c49238c607
2
bin/brew
2
bin/brew
@ -39,7 +39,7 @@ fi
|
|||||||
# Reset sudo timestamp to avoid running unauthorized sudo commands
|
# Reset sudo timestamp to avoid running unauthorized sudo commands
|
||||||
if command -v sudo >/dev/null
|
if command -v sudo >/dev/null
|
||||||
then
|
then
|
||||||
sudo --reset-timestamp
|
sudo --reset-timestamp 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
quiet_cd() {
|
quiet_cd() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user