Checking for presence of the file /var/run/cups/cupsd.pid to find out if
cups is running is more robust in my opinion.

Anyway if you think lpstat -r needs to return nonzero value if cups isn't 
running this should be reported upstream to CUPS here:
http://www.cups.org/str.php
Please also add a link to the upstream str in this bug report.

** Changed in: cups (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: cups (Ubuntu)
       Status: New => Triaged

** Tags added: needs-upstream-report

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

Title:
  lpstat should return failure when cupsd is not running

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

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

Reply via email to