summaryrefslogtreecommitdiff
path: root/bin/rr
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rr')
-rw-r--r--[-rwxr-xr-x]bin/rr4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rr b/bin/rr
index d7d0b4f2..73013adc 100755..100644
--- a/bin/rr
+++ b/bin/rr
@@ -52,7 +52,6 @@ use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ConfirmationQuestion;
-use function Couchbase\defaultDecoder;
class RRHelper
{
@@ -266,6 +265,7 @@ class RRHelper
$progressBar->setFormat('[%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% ' . intval($download_size / 1024) . 'KB');
$progressBar->setProgress($downloaded);
});
+
curl_setopt($curlResource, CURLOPT_NOPROGRESS, false); // needed to make progress function work
curl_setopt($curlResource, CURLOPT_HEADER, 0);
curl_exec($curlResource);
@@ -309,4 +309,4 @@ class RRHelper
$output->writeln('<info>Config file created!</info>');
})
->getApplication()
- ->run();
+ ->run(); \ No newline at end of file