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 a80d60ce4f..079f20aac4 100755
--- a/examples/printing/smbprint
+++ b/examples/printing/smbprint
@@ -53,7 +53,7 @@ logfile=/tmp/smb-print.log
# Extract the directory name from the file name.
# Concat this with /.config to get the config file.
#
-eval acct_file=\$$#
+eval acct_file=\${$#}
spool_dir=`dirname $acct_file`
config_file=$spool_dir/.config