diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2012-11-08 15:51:00 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-04-09 02:25:26 -0500 |
commit | e4668a5061de4f225d4e9d534ff6212e634e45d2 (patch) | |
tree | 1b2243a14af8307a96f0bc58e19508cc39b68798 /etc | |
parent | 56f1752ce1899c455b9e97ac73da9bd68fbab2b9 (diff) |
Fix autodetection of lxc
The /proc/1/environ contains various \0 terminated strings. The current
code will only work when the search string is in the first of those.
To fix this we look for strings in entire buffer.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions