All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aycan iRiCAN <aycan@core.gen.tr>
To: bridge@osdl.org
Subject: [Bridge] brctl returns 0 on error
Date: Fri, 19 Nov 2004 16:29:54 +0200	[thread overview]
Message-ID: <419E0362.7030400@core.gen.tr> (raw)

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


             reply	other threads:[~2004-11-19 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-19 14:29 Aycan iRiCAN [this message]
2004-11-19 17:31 ` [Bridge] brctl returns 0 on error Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419E0362.7030400@core.gen.tr \
    --to=aycan@core.gen.tr \
    --cc=bridge@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.