summaryrefslogtreecommitdiffstats
path: root/library/print.tcl
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2021-07-10 11:36:02 (GMT)
committerKevin Walzer <kw@codebykevin.com>2021-07-10 11:36:02 (GMT)
commitfe58f67fd52055fe7c5fe5583957514929e38933 (patch)
tree99f1d3ce9f192f9ee31790fb47b37b232e379034 /library/print.tcl
parent357adcd19518cd05a18e1c5a0d90ea89ee6df47c (diff)
downloadtk-fe58f67fd52055fe7c5fe5583957514929e38933.zip
tk-fe58f67fd52055fe7c5fe5583957514929e38933.tar.gz
tk-fe58f67fd52055fe7c5fe5583957514929e38933.tar.bz2
Fix missing bracket error in print.tcl
Diffstat (limited to 'library/print.tcl')
-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