aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clients/reconcilio/fix_linkage.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/reconcilio/fix_linkage.cc b/src/clients/reconcilio/fix_linkage.cc
index ce30bb3e2..f5507aa7d 100644
--- a/src/clients/reconcilio/fix_linkage.cc
+++ b/src/clients/reconcilio/fix_linkage.cc
@@ -50,7 +50,8 @@ do_fix_linkage(const std::shared_ptr<Environment> & env)
std::string library(CommandLine::get_instance()->a_library.argument());
auto libraries(std::make_shared<Sequence<std::string>>());
- libraries->push_back(library);
+ if (! library.empty())
+ libraries->push_back(library);
if (library.empty())
std::cout << "Searching for broken packages... " << std::flush;