#26 Patch for finding cups on Debian

closed
nobody
None
5
2003-11-05
2003-11-03
No

--- lpadmin/cups-lib.pl.orig
+++ lpadmin/cups-lib.pl
@@ -248,7 +248,7 @@
# Returns the pid if lpsched is running, 0 if not, -1 if cannot
be stopped
sub sched_running
{
-@pid = &find_byname("cups");
+@pid = &find_byname("cupsd");
if (@pid) { return $pid[0]; }
return 0;
}

Discussion

  • Jamie Cameron

    Jamie Cameron - 2003-11-05

    Logged In: YES
    user_id=129364

    Thanks for the patch - I will include it in the 1.130
    release of webmin.

     
  • Jamie Cameron

    Jamie Cameron - 2003-11-05
    • labels: 323083 -->
    • assigned_to: jcameron --> nobody
    • status: open --> closed