ia64/xen-unstable

changeset 8121:e67cfb40411d

Replace grep >&/dev/null with grep -q.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Tue Nov 29 14:56:16 2005 +0000 (2005-11-29)
parents e47e953c9e10
children 28331cd6d43a
files tools/examples/vif-bridge
line diff
     1.1 --- a/tools/examples/vif-bridge	Tue Nov 29 14:55:48 2005 +0000
     1.2 +++ b/tools/examples/vif-bridge	Tue Nov 29 14:56:16 2005 +0000
     1.3 @@ -48,7 +48,7 @@ fi
     1.4  
     1.5  case "$command" in
     1.6      online)
     1.7 -        if brctl show | grep "$vif" >&/dev/null
     1.8 +        if brctl show | grep -q "$vif"
     1.9          then
    1.10            log debug "$vif already attached to a bridge"
    1.11            exit 0