From 7b4bca5d90378d6ed41740f13ffdd52f79deeb7a Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 17 Sep 2014 16:14:40 -0700 Subject: [PATCH] Append does not seem to work --- scripts/bootstrap.sh | 2 +- scripts/initializeBaseUbuntuImage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 5d74511af..73dbfc530 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -1,7 +1,7 @@ #!/bin/sh # This script is executed once on startup -exec > >(tee -a "/var/log/cloudron/bootstrap.log-$$-$BASHPID") +exec > >(tee "/var/log/cloudron/bootstrap.log-$$-$BASHPID") if [ -f "/home/yellowtent/.yellowtent/cloudron.conf" ]; then echo "Someone created the cloudron.conf file. How is this possible?" diff --git a/scripts/initializeBaseUbuntuImage.sh b/scripts/initializeBaseUbuntuImage.sh index b549ffb7d..b690f5f0b 100755 --- a/scripts/initializeBaseUbuntuImage.sh +++ b/scripts/initializeBaseUbuntuImage.sh @@ -148,7 +148,7 @@ set -v mkdir -p /var/log/cloudron -exec 2>&1 1>> "/var/log/cloudron/bootstrap_init-\$\$-\$BASHPID.log" +exec 2>&1 1> "/var/log/cloudron/bootstrap_init-\$\$-\$BASHPID.log" echo "[II] Update to latest git revision..." cd $SRCDIR