ifcfg-rh: don't chain up after failure of replace_and_commit()
authorBeniamino Galvani <bgalvani@redhat.com>
Wed, 30 Mar 2016 15:44:46 +0000 (17:44 +0200)
committerBeniamino Galvani <bgalvani@redhat.com>
Wed, 30 Mar 2016 16:12:32 +0000 (18:12 +0200)
commit1422ce0a6ac4f90158575c68d68b7658769f0b6f
tree1eda2a913953be1d596632f8c5bf59045c75e63f
parent5f83ef992532462cecd95deb6de4d978cc9a1d5a
ifcfg-rh: don't chain up after failure of replace_and_commit()

If replace_and_commit() found existing route files (and the callback
has potentially already been invoked), it is wrong to chain up to
parent class and continue the update.

Fixes: f79d62692ec4fe5ba21bbeab26286b2a3b250fdd
src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.c