From 9329d0a91ed07178bc9117a675a0e2a5cd99ae19 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Thu, 2 Dec 2010 10:16:38 +0100 Subject: smbprinting: fix wrong == in shell tests --- examples/printing/smbprint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/printing') 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 -- cgit