From: Bogdan Purcareata Date: Mon, 24 Mar 2014 16:43:03 +0000 (-0400) Subject: lxc-busybox: follow symlinks when inspecting busybox binary X-Git-Tag: lxc-1.1.0.alpha1~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50dbb8209bf65e4d24ccd06d3ca05004d0ddc63c;p=thirdparty%2Flxc.git lxc-busybox: follow symlinks when inspecting busybox binary Signed-off-by: Bogdan Purcareata Signed-off-by: Serge Hallyn --- diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index e5a512a4a..246e743f0 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -187,7 +187,7 @@ configure_busybox() return 1 fi - file $(which busybox) | grep -q "statically linked" + file -L $(which busybox) | grep -q "statically linked" if [ $? -ne 0 ]; then echo "warning : busybox is not statically linked." echo "warning : The template script may not correctly"