Description: silence netstat warnings in lxc-ls
 netstat -x sometimes spits errors to stderr like:
 warning, got bogus unix line.
 Shut those up as they don't help lxc-ls.
Author: Serge Hallyn <serge.hallyn@canonical.com>
Forwarded: yes

Index: lxc-0.7.5/src/lxc/lxc-ls.in
===================================================================
--- lxc-0.7.5.orig/src/lxc/lxc-ls.in	2012-02-07 17:26:57.000000000 -0600
+++ lxc-0.7.5/src/lxc/lxc-ls.in	2012-02-07 17:29:11.463932825 -0600
@@ -24,7 +24,7 @@
 
 ls "$@" $lxcpath
 
-active=$(netstat -xa | grep $lxcpath | \
+active=$(netstat -xa 2>/dev/null | grep $lxcpath | \
 	sed -e 's#.*'"$lxcpath/"'\(.*\)/command#\1#');
 
 if test -n "$active"; then
