Commit 2666aa0b authored by Beniamino Galvani's avatar Beniamino Galvani

cli: don't wait for connection change on update failure

When saving a connection, we wait the connection-changed signal before
proceeding to ensure that the remote connection is up to date.
However, no signal is emitted if the update fails and so we shouldn't
wait for it.

Fixes: a370faeb ('cli: wait for changed signal after updating a connection'):

(cherry picked from commit 2d347e7e)
(cherry picked from commit 3423629f)
parent 61b4f31d
Pipeline #42719 passed with stage
in 30 minutes and 39 seconds