summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/printerdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 7bc4e1387..bb01d456f 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -375,7 +375,7 @@ sub Refresh {
$refreshing = 1;
my ($strfilt) = @_;
my $selection = get_selection();
- printer::services::wait_for_cups();
+ printer::services::wait_for_cups() if ($printer->{SPOOLER} eq "cups");
my @printers;
defined $printer and @printers = printer::cups::lpstat_lpv();
RefreshLocalPrintersFull($strfilt, @printers);