From a7266b140b229f162722d2259d5c21f6b148534f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lademann?= Date: Fri, 26 Mar 2021 10:00:22 +0100 Subject: [PATCH] Remove delete-after flag Resolves #4 --- Classes/Command/FetchWebsiteCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Command/FetchWebsiteCommand.php b/Classes/Command/FetchWebsiteCommand.php index 59ae54a..e54d37d 100644 --- a/Classes/Command/FetchWebsiteCommand.php +++ b/Classes/Command/FetchWebsiteCommand.php @@ -42,7 +42,7 @@ protected function execute(InputInterface $input, OutputInterface $output) exec('mkdir ' . $fetchDirectory); // Fetch website recursively - exec('wget --delete-after -q -r ' . $input->getArgument('baseUrl') . ' -R "' . self::REJECT . '" -P ' . $fetchDirectory, $output, $status); + exec('wget -q -r ' . $input->getArgument('baseUrl') . ' -R "' . self::REJECT . '" -P ' . $fetchDirectory, $output, $status); return $status; }