mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Replace grep >&/dev/null with grep -q.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
5941ac94f2
commit
2832dba652
1 file changed
+1
-1
@@ -48,7 +48,7 @@ fi
|
||||
|
||||
case "$command" in
|
||||
online)
|
||||
if brctl show | grep "$vif" >&/dev/null
|
||||
if brctl show | grep -q "$vif"
|
||||
then
|
||||
log debug "$vif already attached to a bridge"
|
||||
exit 0
|
||||
|
||||