From 33b395806470eeac408070fec535bfd5efc20a2c Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sun, 28 Dec 2014 00:49:08 -0800 Subject: 34068: create tempfiles without forking, and safe temp directory creation --- Functions/Zftp/zfget_match | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Zftp/zfget_match') diff --git a/Functions/Zftp/zfget_match b/Functions/Zftp/zfget_match index c2871fa16..3ba06c47a 100644 --- a/Functions/Zftp/zfget_match +++ b/Functions/Zftp/zfget_match @@ -10,7 +10,7 @@ fi if [[ $ZFTP_SYSTEM == UNIX* && $1 == */* ]]; then setopt localoptions clobber local tmpf=${TMPPREFIX}zfgm$$ - mv -f =(:) $tmpf + mv -f =(<<<'') $tmpf if [[ -n $WIDGET ]]; then local dir=${1:h} -- cgit 1.4.1