diff options
-rwxr-xr-x | examples/printing/smbprint | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/printing/smbprint b/examples/printing/smbprint index 3d4b53f850..375f29fdf7 100755 --- a/examples/printing/smbprint +++ b/examples/printing/smbprint @@ -81,7 +81,7 @@ if [ "x$password" = "x" ] ; then password="-N" fi -if [ "x$username" == "x" ] ; then +if [ "x$username" = "x" ] ; then username="$server"; fi @@ -143,7 +143,7 @@ else else set -x; exec >>$debugfile 2>&1 debugargs="$debugfile." - #[ "x$debugsmb" == "x" ] || debugargs="$debugargs -d $debugsmb" + #[ "x$debugsmb" = "x" ] || debugargs="$debugargs -d $debugsmb" fi fi |