cmd/tailscale/cli: disallow --ssh on Synology
Updates tailscale/corp#5468
Updates
@@ -440,7 +440,10 @@ func runUp(ctx context.Context, args []string) error {
return errors.New("--exit-node is " + notSupported)
}
if upArgs.netfilterMode != "off" {
- return errors.New("--netfilter-mode values besides \"off\" " + notSupported)
+ return errors.New("--netfilter-mode values besides \"off\" are " + notSupported)
+ }
+ if upArgs.runSSH {
+ return errors.New("--ssh is " + notSupported)
}
}
