mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
wgengine/router: warn about another variation of busybox's ip
.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
bb55694c95
commit
7fb33123d3
@ -544,7 +544,7 @@ func (r *linuxRouter) delBypassRule() error {
|
||||
// the user towards the correct fix. See
|
||||
// https://github.com/tailscale/tailscale/issues/368 for an
|
||||
// example of this issue.
|
||||
if bytes.Contains(out, []byte("ip: ignoring all arguments")) {
|
||||
if bytes.Contains(out, []byte("ip: ignoring all arguments")) || bytes.Contains(out, []byte("does not take any arguments")) {
|
||||
return errors.New("cannot list ip rules, `ip` appears to be the busybox implementation. Please install iproute2")
|
||||
}
|
||||
return fmt.Errorf("listing ip rules: %v\n%s", err, out)
|
||||
|
Loading…
x
Reference in New Issue
Block a user