summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-03-13 21:26:36 +0100
committervarac <varacanero@zeromail.org>2014-03-13 21:26:36 +0100
commita98988509db855d151d180f864191682caddf400 (patch)
tree4d1a2701a52f7b66b0cadcf31b3b73134deb1355
parentc60783297be509945b15392d7984d6b7b015a3ba (diff)
run curl in silent mode
-rwxr-xr-xbigcouch_compact_all_shards.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bigcouch_compact_all_shards.sh b/bigcouch_compact_all_shards.sh
index 8fffee1..82aa3c2 100755
--- a/bigcouch_compact_all_shards.sh
+++ b/bigcouch_compact_all_shards.sh
@@ -19,7 +19,7 @@ do
shard=`echo $i | sed "s/^.*shards\///" | cut -d'/' -f 1`
db=`basename $i .couch`
echo -n "compacting ${i}:"
- curl -X POST --netrc-file $NETRC -H "Content-Type: application/json" "http://127.0.0.1:5986/shards%2F${shard}%2F${db}/_compact"
+ curl -s -X POST --netrc-file $NETRC -H "Content-Type: application/json" "http://127.0.0.1:5986/shards%2F${shard}%2F${db}/_compact"
sleep 1
done