Quoting Andrew Gilbert (andrewg...@gmail.com): > When lxc-netstat was called by lxc-unshare, it would be given the > arguments intended for netstat from the first invocation, but without > anything to separate them from the arguments intended for lxc-netstat. > This meant that netstat arguments like -n would result in lxc-netstat > trying to process them. > > Signed-off-by: Andrew Gilbert <andrewg...@gmail.com>
Acked-by: Serge E. Hallyn <serge.hal...@ubuntu.com> > --- > src/lxc/lxc-netstat.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lxc/lxc-netstat.in b/src/lxc/lxc-netstat.in > index 2fa2d23..229c214 100644 > --- a/src/lxc/lxc-netstat.in > +++ b/src/lxc/lxc-netstat.in > @@ -93,7 +93,7 @@ if [ -z "$name" ]; then > fi > if [ -z "$exec" ]; then > - exec @BINDIR@/lxc-unshare -s MOUNT -- $0 -n $name --exec "$@" > + exec @BINDIR@/lxc-unshare -s MOUNT -- $0 -n $name --exec -- "$@" > fi > if lxc-info -n $name --state-is 'STOPPED'; then > -- > 1.8.1.2 > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Lxc-devel mailing list > Lxc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel