* [Bridge] brctl returns 0 on error
@ 2004-11-19 14:29 Aycan iRiCAN
2004-11-19 17:31 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Aycan iRiCAN @ 2004-11-19 14:29 UTC (permalink / raw)
To: bridge
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bridge] brctl returns 0 on error
2004-11-19 14:29 [Bridge] brctl returns 0 on error Aycan iRiCAN
@ 2004-11-19 17:31 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2004-11-19 17:31 UTC (permalink / raw)
To: Aycan iRiCAN; +Cc: bridge
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-19 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-19 14:29 [Bridge] brctl returns 0 on error Aycan iRiCAN
2004-11-19 17:31 ` Stephen Hemminger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.