]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Fix lxc-netstat
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 28 May 2009 10:10:51 +0000 (12:10 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 28 May 2009 10:10:51 +0000 (12:10 +0200)
The lxc-unshare cli has changed, fix the call to lxc-unshare
in lxc-netstat.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-netstat.in

index 901c3230f23523efa5f59d60a377b7f36c2cfe71..6f4b163086ac76f42e523fd38a3840301c57e501 100644 (file)
@@ -23,7 +23,7 @@ for i in $*; do
 done
 
 if [ -z "$exec" ]; then
-    exec @BINDIR@/lxc-unshare -m -- @BINDIR@/lxc-netstat -n $name --exec $*
+    exec @BINDIR@/lxc-unshare -s MOUNT -- @BINDIR@/lxc-netstat -n $name --exec $*
 fi
 
 if [ -z "$name" ]; then