summaryrefslogtreecommitdiff
path: root/examples/printing/smbprint
diff options
context:
space:
mode:
Diffstat (limited to 'examples/printing/smbprint')
-rwxr-xr-xexamples/printing/smbprint2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/printing/smbprint b/examples/printing/smbprint
index 9d19c26dec..5a00a2a8aa 100755
--- a/examples/printing/smbprint
+++ b/examples/printing/smbprint
@@ -87,7 +87,7 @@ echo "server $server, service $service" >> $logfile
(
# NOTE You may wish to add the line `echo translate' if you want automatic
# CR/LF translation when printing.
- if [ $TRANS ]; then
+ if [ $TRANS -eq 1 ]; then
echo translate
fi
echo "print -"