diff options
Diffstat (limited to 'Functions/Zftp/zffcache')
-rw-r--r-- | Functions/Zftp/zffcache | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Functions/Zftp/zffcache b/Functions/Zftp/zffcache index 0d9686660..48afdcba0 100644 --- a/Functions/Zftp/zffcache +++ b/Functions/Zftp/zffcache @@ -2,6 +2,8 @@ # storing it in fcache_name, then generate the cache for the current # directory, or with argument -d clear the cache. +[[ $1 = -d ]] && local fcache_name + fcache_name=$zfconfig[fcache_$ZFTP_SESSION] if [[ -z $fcache_name ]]; then local vals |