This is *still* an issue nearly a year on.
A better test line is actually this, which checks for anacron being
present before checking whether it is enabled:
( test -x /usr/sbin/anacron && systemctl -q is-enabled anacron )
The () are needed.
--
You received this bug notification because you ar
Actually
systemctl -q is-enabled anacron 2>/dev/null
works to, and is shorter (and more intuitive).
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1759846
Title:
Incorrec
2 matches
Mail list logo