The call to crontab -l fails if there is no crontab. Without this check,
wakeup fails to set any alarms when no crontab yet exists. The second
call is NOT meant to be "-l", it is good as is. This just creates a new
crontab when none exists.

That is, if `crontab -l` fails, there is no cron set up, and so we call
`echo "" | crontab -`, which creates a new empty cron file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1040213

Title:
  Request for new upstream version 1.3 upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wakeup/+bug/1040213/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to