summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.cc
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2016-11-29 23:58:01 -0800
committerSam Bingner <sam@bingner.com>2019-08-17 12:34:41 -1000
commit13136de508adca373ea90d7c069777d03a6110e5 (patch)
tree3329d5dee169ac93f47b18c1f3edac7538f6efb9 /apt-pkg/tagfile.cc
parent44cf45b356578c70a9b580d65ea33dab4cfa9306 (diff)
Avoid wedging the entire system if recoverable :/.
Diffstat (limited to 'apt-pkg/tagfile.cc')
-rw-r--r--apt-pkg/tagfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc
index 1e7f2867c..919172f89 100644
--- a/apt-pkg/tagfile.cc
+++ b/apt-pkg/tagfile.cc
@@ -214,7 +214,7 @@ bool pkgTagFile::Step(pkgTagSection &Tag)
break;
if (Resize() == false)
- return _error->Error(_("Unable to parse package file %s (%d)"),
+ return _error->Warning(_("Unable to parse package file %s (%d)"),
d->Fd->Name().c_str(), 1);
} while (Tag.Scan(d->Start,d->End - d->Start, false) == false);