aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
authorGravatar humper <humper@google.com>2014-10-02 10:36:59 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-02 10:36:59 -0700
commit149366e884747769b4b2cb810e5d8f328164cf23 (patch)
tree8c50be1c472f70d672908a13999514bd0a05665b /experimental
parent3b8af078281a5a20f951b9fd84f38d92b8f6217b (diff)
fix sudo redirection in setup script
Diffstat (limited to 'experimental')
-rwxr-xr-xexperimental/webtry/setup/webtry_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/webtry/setup/webtry_setup.sh b/experimental/webtry/setup/webtry_setup.sh
index 818135276c..43f0adc195 100755
--- a/experimental/webtry/setup/webtry_setup.sh
+++ b/experimental/webtry/setup/webtry_setup.sh
@@ -29,7 +29,7 @@ if [ ! -d ${CHROOT_JAIL} ]; then
sudo cp setup_jail.sh ${CHROOT_JAIL}/bin
sudo chmod 755 ${CHROOT_JAIL}/bin/setup_jail.sh
sudo chroot ${CHROOT_JAIL} /bin/setup_jail.sh
- sudo echo "none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0" >> ${CHROOT_JAIL}/etc/fstab
+ sudo sh -c "echo 'none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0' >> ${CHROOT_JAIL}/etc/fstab"
fi
# the continue_install script will fetch the latest versions of