Permalink
Browse files

Check for success more closely

  • Loading branch information...
1 parent 2aae725 commit fd8a1e02ee6a2e732d97f2da8a58467a0d0950fe Luke Closs committed Aug 12, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/mirror-couch-locally
View
5 bin/mirror-couch-locally
@@ -20,5 +20,6 @@ system(qq[curl --silent --show-error -X POST ]
. qq[-d '{"source":"$source","target":"$dest","continuous":true}' ]
. qq[-H"Content-Type: application/json" ]
. qq[http://localhost:5984/_replicate]
- . "> /dev/null"
- ) and die "Failed to run couch replicate starter!";
+ . qq[ | grep -v '"ok":true']
+ # . "> /dev/null"
+ );

0 comments on commit fd8a1e0

Please sign in to comment.