diff options
Diffstat (limited to 'perl-install/printer/cups.pm')
-rw-r--r-- | perl-install/printer/cups.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/cups.pm b/perl-install/printer/cups.pm index 1de54edf2..c932f1f81 100644 --- a/perl-install/printer/cups.pm +++ b/perl-install/printer/cups.pm @@ -16,8 +16,8 @@ sub get_remote_queues { while ($line = <F>) { if ($line =~ m/^\s*device\s+for\s+([^:\s]+):\s*(\S+)\s*$/) { my $queuename = $1; - if (($2 =~ m!^ipp://([^/:]+)[:/]!) && - (!$printer->{configured}{$queuename})) { + if ($2 =~ m!^ipp://([^/:]+)[:/]! && + !$printer->{configured}{$queuename}) { my $server = $1; push (@printerlist, "$queuename|$server"); } |