summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-07-27 17:58:51 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-07-27 17:58:51 +0200
commit4a97f759cd98f3b2518726b348d1b981e8a8e1d6 (patch)
treee541fc580950987ff6d4a075ed87c768e37378d9 /apt-pkg/pkgcache.cc
parent0e071dfe205ad21d8b929b4bb8164b008dc7c474 (diff)
eipp: avoid producing file warnings in simulation
Simulations are frequently run by unprivileged users which naturally don't have the permissions to write to the default location for the eipp file. Either way is bad as running in simulation mode doesn't mean we don't want to run the logging (as EIPP runs the same regardless of simulation or 'real' run), but showing the warnings is relatively pointless in the default setup, so, in case we would produce errors and perform a simulation we will discard the warnings and carry on. Running apt with an external planner wouldn't have generated these messages btw. Closes: 832614
Diffstat (limited to 'apt-pkg/pkgcache.cc')
0 files changed, 0 insertions, 0 deletions