about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-19 03:16:36 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-19 03:16:36 +0000
commit411efa92f55b022d56b54a4ad30a8728682084e8 (patch)
tree17d9bc1874223ab33334ec401804e4cc0088626a /Functions
parent30f9c06e0a6ee40ba9cb9bee0c449e3e62bc92da (diff)
downloadzsh-411efa92f55b022d56b54a4ad30a8728682084e8.tar.gz
zsh-411efa92f55b022d56b54a4ad30a8728682084e8.tar.xz
zsh-411efa92f55b022d56b54a4ad30a8728682084e8.zip
Merge of 23645: use == instead of =.
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zftp/zfautocheck6
1 files changed, 3 insertions, 3 deletions
diff --git a/Functions/Zftp/zfautocheck b/Functions/Zftp/zfautocheck
index 993e84ebf..e53fde8d2 100644
--- a/Functions/Zftp/zfautocheck
+++ b/Functions/Zftp/zfautocheck
@@ -24,16 +24,16 @@ local ZFTP_VERBOSE=${ZFTP_VERBOSE//0}
 
 if [[ -z $ZFTP_HOST ]]; then
   zfopen || return 1
-  [[ $1 = *d* ]] || do_close=1
+  [[ $1 == *d* ]] || do_close=1
 elif zftp test 2>/dev/null; then
   return 0
 else
   zfopen || return 1
 fi
 
-if [[ $1 = *n* ]]; then
+if [[ $1 == *n* ]]; then
   return 0
-elif [[ -n $lastloc && $ZFTP_HOST = ${lastloc%%:*} ]]; then
+elif [[ -n $lastloc && $ZFTP_HOST == ${lastloc%%:*} ]]; then
   # don't print directory since we're just going back where we were.
   zfcd ${lastloc#*:} >& /dev/null
 fi