diff --git a/scripts/lxc-sshd.in b/scripts/lxc-sshd.in index 4a6523061..85c7e761f 100755 --- a/scripts/lxc-sshd.in +++ b/scripts/lxc-sshd.in @@ -401,7 +401,7 @@ cat < $MNTFILE /sbin $(pwd)/$ROOTFS/sbin none ro,bind 0 0 EOF -if [ "$(arch)" = "x86_64" ]; then +if [ "$(uname -m)" = "x86_64" ]; then cat <> $MNTFILE /lib64 $(pwd)/$ROOTFS/lib64 none ro,bind 0 0 EOF