summaryrefslogtreecommitdiff
path: root/examples/printing
diff options
context:
space:
mode:
Diffstat (limited to 'examples/printing')
-rwxr-xr-xexamples/printing/smbprint2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/printing/smbprint b/examples/printing/smbprint
index 9d19c26decd..5a00a2a8aa8 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 -"