summaryrefslogtreecommitdiff
path: root/redis.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-31 10:14:55 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-31 10:14:55 +0200
commit366740686f20cac6b69e161b7cd628b51351cfb9 (patch)
tree83b81de9522a126afa141de6a099a183c14b6e35 /redis.sh
parentdeeb51ccd22ee90754e05cdb469d0f6b9b842270 (diff)
redis.sh
Diffstat (limited to 'redis.sh')
-rwxr-xr-xredis.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis.sh b/redis.sh
index 0dc1f19..99e96c9 100755
--- a/redis.sh
+++ b/redis.sh
@@ -42,11 +42,11 @@ fi
if ! $REDIS_DONE; then
echo "Need root password: "
- echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf
+ echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf >>$LOG 2>&1
cd $HOME
URI="http://redis.googlecode.com/files/redis-$REDIS_VER.tar.gz"
- if ! $WGET -O - "$URI" | tar zxv >>$LOG 2 >&1; then
+ if ! $WGET -O - "$URI" | tar zxv >>$LOG 2>&1; then
printf "%25s%15s\n" "'Download'" "FAIL"
fi
printf "%25s%15s\n" "'Download'" "DONE"