diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index b1bdb16..fddc8fb 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -411,7 +411,7 @@ int main(int argc, char **argv) { } } else { if (!libraryManager.addBookFromPath(zimPath, zimPath, "", false)) { - cerr << "Unable to add the ZIM file '" << libraryPath << "' to the internal library." << endl; + cerr << "Unable to add the ZIM file '" << zimPath << "' to the internal library." << endl; exit(1); } else if (!indexPath.empty()) { vector booksIds = libraryManager.getBooksIds();