summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printerdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 151c5dd0e..ed70ba60b 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -37,7 +37,7 @@ sub setup_local($$$) {
}
if (!$::expert && @str) {
@port = map { $_->{port} } grep { $_->{val}{DESCRIPTION} } @parport;
- @port > 0 and $in = undef;
+ @port == 1 and $in = undef;
} else {
@port = detect_devices::whatPrinterPort();
}