summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index cf70a6461..a4497b9a3 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -2411,7 +2411,7 @@ sub copy_foomatic_queue {
sub autodetectionentry_for_uri {
my ($uri, @autodetected) = @_;
- if ($uri =~ m!^usb://([^/]+)/([^/\?]+)(|\?serial=(\S+))$!) {
+ if ($uri =~ m!^usb://([^/]+)/([^\?]+)(|\?serial=(\S+))$!) {
# USB device with URI referring to printer model
my $make = $1;
my $model = $2;