Skip to content
  • Thomas Haller's avatar
    cli: improve error message for device not found · bb3c93bf
    Thomas Haller authored
      $ nmcli connection add type ethernet con-name x autoconnect no ipv4.method disabled ipv6.method disabled
      $ nmcli connection up x ifname bogus
      Error: device 'bogus' not compatible with connection 'x'.
    
    Better would be:
    
      Error: device 'bogus' not found for connection 'x'.
    bb3c93bf