Commit a7856c55 by Andrian Nord Committed by Daniel Lezcano

lxc-netstat should use @LXCPATH@ for lxcpath=

Typo ;) Signed-off-by: 's avatarAndrian Nord <NightNord@gmail.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 92db2bb0
#!/bin/bash
# set -ex
lxcpath=/var/lib/lxc
exec=""
if [ ! -r $lxcpath ]; then
exit 0
fi
if [ $# -eq 0 ]; then
echo "usage: $0 -n <name>"
exit 1
......@@ -23,7 +18,7 @@ for i in $*; do
done
if [ -z "$exec" ]; then
exec /usr/bin/lxc-unshare -s MOUNT -- /usr/bin/lxc-netstat -n $name --exec $*
exec @BINDIR@/lxc-unshare -s MOUNT -- $0 -n $name --exec $*
fi
if [ -z "$name" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment