]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-busybox: follow symlinks when inspecting busybox binary
authorBogdan Purcareata <bogdan.purcareata@freescale.com>
Mon, 24 Mar 2014 16:43:03 +0000 (12:43 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 24 Mar 2014 19:19:27 +0000 (14:19 -0500)
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-busybox.in

index e5a512a4a48b9b856884af76d280a1a561c0f7dc..246e743f0f29012b0bf889ba52e0fe1615cdf90c 100644 (file)
@@ -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"