Invalidate sudo ticket

This commit is contained in:
Nick Jacques 2016-04-19 09:49:20 -05:00
parent a0a3e4dbbd
commit 3aebb12f41

View file

@ -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"