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 are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759846 Title: Incorrect test used for anacron being active To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1759846/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
