|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Replace grep >&/dev/null with grep -q.
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID e67cfb40411db6b7350fdb7567783aa412235c97
# Parent e47e953c9e1061ab9bef9f08873716b7155e8216
Replace grep >&/dev/null with grep -q.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r e47e953c9e10 -r e67cfb40411d tools/examples/vif-bridge
--- a/tools/examples/vif-bridge Tue Nov 29 14:55:48 2005
+++ b/tools/examples/vif-bridge Tue Nov 29 14:56:16 2005
@@ -48,7 +48,7 @@
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
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Replace grep >&/dev/null with grep -q.,
Xen patchbot -unstable <=
|
|
|
|
|