Hi, "brctl" returns 0 when trying to delete non-existent bridge. If it returns 0, scripting will be an headache. It should return different than 0. # brctl delbr geek bridge geek doesn't exist; can't delete it # echo $? 0 Thanks. -- Aycan iRiCAN Core Computer Security Group http://www.core.gen.tr
On Fri, 19 Nov 2004 16:29:54 +0200 Aycan iRiCAN <aycan@core.gen.tr> wrote:> Hi, > > "brctl" returns 0 when trying to delete non-existent bridge. If it > returns 0, scripting will be an headache. It should return different than 0. > > # brctl delbr geek > bridge geek doesn't exist; can't delete it >That is true for old versions of the bridge utilities.
Reasonably Related Threads
- [Bridge] recent 2.6 kernels hang on bridge shutdown
- [Bridge] Problem with bridge/8139too module under 2.4.27?
- [Bridge] Problem of lock when deleting a bridge
- [PATCH][NODE] Cleanup old bridges when re-running o-c-networking
- [Bridge] <kernel BUG> generated on bridge up/down & other issues