]> git.proxmox.com Git - mirror_lxc.git/commit
make lxc-netstat work when /etc/mtab is not /proc/mounts
authorSerge E. Hallyn <serge.hallyn@canonical.com>
Tue, 9 Aug 2011 14:51:01 +0000 (16:51 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 9 Aug 2011 14:51:01 +0000 (16:51 +0200)
commit0a1259d99f5ed53ff268b5f4ff0607129562ae96
tree4cf8d4ce720a4d9de07100aac6a37bbdf03a28e1
parent93884589f646a9a52753c48a835d5633d4894278
make lxc-netstat work when /etc/mtab is not /proc/mounts

like lxc-ps and lxc-ls, lxc-netstat breaks if there is not an 'lxc' cgroup
mount and /etc/mtab is not a link to /proc/mounts.
Author: Serge Hallyn <serge.hallyn@canonical.com>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/819319
Forwarded: no

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