Description of problem:
vbenes@krakonosovo:~$ nmcli connection down id ethernet
Error: 'id' is not an active connection.
Connection 'ethernet' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)
Error: not all active connections found.
^^ this is wrong
echo $? gives 10
vbenes@krakonosovo:~$ nmcli connection up id ethernet
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/5)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. nmcli con down id $active_connection
10 as exit value and error
0 and no error
Fixed on nm-1-8:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.