void-packages/srcpkgs/tailscale/patches/no-self-update.patch
classabbyamp 60610c8b10
tailscale: disable self-updater
this doesn't do anything on void atm but better to be safe than sorry.
hopefully this gets made disableable in the future.
2023-08-21 17:44:27 -04:00

11 lines
440 B
Diff

--- a/cmd/tailscale/cli/cli.go
+++ b/cmd/tailscale/cli/cli.go
@@ -149,8 +149,6 @@
switch {
case slices.Contains(args, "debug"):
rootCmd.Subcommands = append(rootCmd.Subcommands, debugCmd)
- case slices.Contains(args, "update"):
- rootCmd.Subcommands = append(rootCmd.Subcommands, updateCmd)
}
if runtime.GOOS == "linux" && distro.Get() == distro.Synology {
rootCmd.Subcommands = append(rootCmd.Subcommands, configureHostCmd)