From e83e7a54bf2d32d9d6ed48cad083267d6b1ff076 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Sep 2015 13:47:07 -0300 Subject: Redirect fix --- share/hydractl/provision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/hydractl/provision b/share/hydractl/provision index c328559..53cab77 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -312,7 +312,7 @@ hydra_sudo_run chroot $WORK/ apt-get install locales cryptsetup lvm2 initramfs-t # Crypttab. echo "Configuring crypttab..." -echo "# " > $WORK/etc/crypttab +echo "# " | $SUDO tee $WORK/etc/crypttab if [ "$encrypt" == "y" ]; then cat <<-EOF | $SUDO tee $WORK/etc/crypttab -- cgit v1.2.3