Skip to content

Commit

Permalink
templates/lxc-debian.in: Fix typo in calling dpkg with --print-foreig…
Browse files Browse the repository at this point in the history
…n-architectures option

Signed-off-by: Santiago Ruano Rincón <santiago@debian.org>
Signed-off-by: Evgeni Golov <evgeni@debian.org>
  • Loading branch information
Santiago Ruano Rincón authored and stgraber committed Dec 15, 2016
1 parent da9ca65 commit 790c6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/lxc-debian.in
Expand Up @@ -444,7 +444,7 @@ EOF
# If the container isn't running a native architecture, setup multiarch
if [ "${arch}" != "${hostarch}" ]; then
# Test if dpkg supports multiarch
if ! chroot "$rootfs" dpkg --print-foreign-architecture 2>&1; then
if ! chroot "$rootfs" dpkg --print-foreign-architectures 2>&1; then
chroot "$rootfs" dpkg --add-architecture "${hostarch}"
fi
fi
Expand Down

0 comments on commit 790c6b0

Please sign in to comment.