summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/print.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/print.tcl b/library/print.tcl
index 0332b25..76a4a3a 100644
--- a/library/print.tcl
+++ b/library/print.tcl
@@ -664,7 +664,7 @@ namespace eval ::tk::print {
catch {exec lpstat -a} msg
set notfound "command not found"
- if {[string first $notfound $msg != -1} {
+ if {[string first $notfound $msg] != -1} {
error "Unable to obtain list of printers. Please install the CUPS package \
for your system."
return