diff --git a/src/Service/BookFileSystemManager.php b/src/Service/BookFileSystemManager.php index 173213a0..3978634f 100644 --- a/src/Service/BookFileSystemManager.php +++ b/src/Service/BookFileSystemManager.php @@ -367,7 +367,7 @@ public function extractCover(Book $book): Book } $cover = current($entries); - shell_exec('unrar e "'.$bookFile->getRealPath().'" "'.$cover.'" /tmp/'); + shell_exec('unrar e "'.$bookFile->getRealPath().'" "'.$cover.'" /tmp -y'); $filesystem->mkdir($this->getCalculatedImagePath($book, true)); try {