diff options
author | Julian Andres Klode <jak@debian.org> | 2018-01-10 08:30:25 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2018-01-10 08:33:41 +0100 |
commit | ca2fcc639c7363a04998f650b96573d806b32dd2 (patch) | |
tree | d426931ca5aaa951169c4182aedce7f2d9c9888e /cmdline/apt-cdrom.cc | |
parent | df2d614900476920671779f27fcc4143d3c1b5b7 (diff) |
apt-compat.cron.daily: Correctly handle undetermined power status
If on_ac_power exits with 255 the script would fail at this point
because set -e was set, but it should continue, as 255 means the
power status could not be determined.
LP: #1742378
Diffstat (limited to 'cmdline/apt-cdrom.cc')
0 files changed, 0 insertions, 0 deletions