diff --git a/cli/commandupdate.cpp b/cli/commandupdate.cpp index 354c426..f242eb5 100644 --- a/cli/commandupdate.cpp +++ b/cli/commandupdate.cpp @@ -108,6 +108,7 @@ int CommandUpdate::handle(QStringList arguments) } } offset += limit; + files.clear(); processedRows = this->dbService->getFiles(files, pattern, offset, limit); }