mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-11-10 06:34:22 +00:00
Invalidate sudo ticket
This commit is contained in:
parent
a0a3e4dbbd
commit
3aebb12f41
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ if [ "$user_prompt" == "y" ]; then
|
|||
|
||||
echo "Restarting CoreAudio"
|
||||
sudo launchctl kill SIGTERM system/com.apple.audio.coreaudiod && sleep 5
|
||||
|
||||
# Invalidate sudo ticket
|
||||
sudo -k
|
||||
|
||||
echo -e "\n${bold}Done! Toggle your sound output device in the Sound control panel to complete the uninstall.${normal}"
|
||||
osascript -e 'tell application "System Preferences"
|
||||
|
|
Loading…
Reference in a new issue