summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-12-02 10:16:38 +0100
committerBjoern Jacke <bj@sernet.de>2010-12-02 10:36:06 +0100
commit9329d0a91ed07178bc9117a675a0e2a5cd99ae19 (patch)
tree74d830ea4923f56e010ba42a8e4fcb8d33678a82
parent8c365d5d4de925d6b548acb3f55a57b35cf4056d (diff)
downloadsamba-9329d0a91ed07178bc9117a675a0e2a5cd99ae19.tar.gz
samba-9329d0a91ed07178bc9117a675a0e2a5cd99ae19.tar.bz2
samba-9329d0a91ed07178bc9117a675a0e2a5cd99ae19.zip
smbprinting: fix wrong == in shell tests
-rwxr-xr-xexamples/printing/smbprint4
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