diff options
| author | Chris Palmer <cpalmer@tailscale.com> | 2023-08-14 13:57:09 -0700 |
|---|---|---|
| committer | Chris Palmer <cpalmer@tailscale.com> | 2023-08-15 13:08:50 -0700 |
| commit | e230e617f85c91efd9e78715eef6cc4c2b858639 (patch) | |
| tree | 9661aee9503e91da68f8090b42638d86cd54f16b | |
| parent | a690347e62018a6f1709171a56de8ad6711d491f (diff) | |
| download | tailscale-macsys-update.tar.xz tailscale-macsys-update.zip | |
clientupdate: return NOTREACHED for macsysmacsys-update
The work is done in Swift; this is now a documentation placeholder.
Updates #6995
Signed-off-by: Chris Palmer <cpalmer@tailscale.com>
| -rw-r--r-- | clientupdate/clientupdate.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clientupdate/clientupdate.go b/clientupdate/clientupdate.go index 210e9a99e..9e36cea21 100644 --- a/clientupdate/clientupdate.go +++ b/clientupdate/clientupdate.go @@ -588,10 +588,7 @@ func parseAlpinePackageVersion(out []byte) (string, error) { } func (up *updater) updateMacSys() error { - // This is actually NOTREACHED, because code in Swift intercepted the - // `update` command before ever calling into this point. It invokes the - // Sparkle update GUI. - return nil + return errors.New("NOTREACHED: On MacSys builds, `tailscale update` is handled in Swift to launch the GUI updater") } func (up *updater) updateMacAppStore() error { |
