teamviewer: fix style

This commit is contained in:
Bo Anderson
2023-12-15 17:38:20 +00:00
parent 0078f46683
commit abd84ec7aa
-1
View File
@@ -68,7 +68,6 @@ cask "teamviewer" do
ohai "The TeamViewer package postinstall script launches the TeamViewer app" if retries >= 3
ohai "Attempting to close the TeamViewer app to avoid unwanted user intervention" if retries >= 3
return unless system_command "/usr/bin/pkill", args: ["-f", "/Applications/TeamViewer.app"]
rescue RuntimeError
sleep 1
retry unless (retries -= 1).zero?