Skip to content

nmcli: fix return code on "nmcli device connect" error

Beniamino Galvani requested to merge bg/nmcli-dev-connect-error into main

Before:

  $ nmcli device connect veth0; echo $?
  Error: Connection activation failed: (5) IP configuration could not be reserved (no available address, timeout, etc.).
  0
After
  $ nmcli device connect veth0; echo $?
  Error: Connection activation failed: IP configuration could not be reserved (no available address, timeout, etc.).
  4

#902 (closed)

Merge request reports