summaryrefslogtreecommitdiff
path: root/cmdline/apt.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-04-04 12:16:22 +0200
committerMichael Vogt <mvo@debian.org>2014-04-04 12:16:22 +0200
commitec4371acb7bf586b4ed274b47813e5785da6b424 (patch)
treefd40096277b18c6abc33bf3c6fc44c8ea1126930 /cmdline/apt.cc
parent5cfd6ef6c6ad67658c042453075e54ac23d10245 (diff)
Fix crash in "apt list" when a sources.list file is unreable
Closes: 743413
Diffstat (limited to 'cmdline/apt.cc')
-rw-r--r--cmdline/apt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc
index 778ca5a80..4813861a4 100644
--- a/cmdline/apt.cc
+++ b/cmdline/apt.cc
@@ -70,7 +70,7 @@ int main(int argc, const char *argv[]) /*{{{*/
{
CommandLine::Dispatch Cmds[] = {
// query
- {"list",&List},
+ {"list",&DoList},
{"search", &FullTextSearch},
{"show", &APT::Cmd::ShowPackage},