summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-06-29 14:57:00 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-06-29 15:01:39 +0200
commit520931867ee2fac8415a624204414d3b62550996 (patch)
tree3b5ffa1e1347db9c0fd9977a1770f4d3aee51bce /apt-pkg/pkgcachegen.h
parentfc5db01bb7d1546944200d197866b0b5c378f100 (diff)
if reading of autobit state failed, let write fail
If we can't read the old file we can't just move forward as that would discard potentially discard old data (especially other fields). We let it fail only after we are done writing the new file so a user has the chance to look into and merge the new data (which is otherwise discarded).
Diffstat (limited to 'apt-pkg/pkgcachegen.h')
0 files changed, 0 insertions, 0 deletions