From 198a53dd46ee8cf48eefa70aa51a821139b505b1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 10 Oct 2008 13:20:05 +0000 Subject: unposted: silence some warnings when WARN_CREATE_GLOBAL is set --- Functions/Zftp/zftp_progress | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Zftp/zftp_progress') diff --git a/Functions/Zftp/zftp_progress b/Functions/Zftp/zftp_progress index cc6195661..6bc873288 100644 --- a/Functions/Zftp/zftp_progress +++ b/Functions/Zftp/zftp_progress @@ -48,7 +48,7 @@ if [[ -n $ZFTP_TRANSFER ]]; then unset zftpseconds print 1>&2 else - zftpseconds=$SECONDS + typeset -g zftpseconds=$SECONDS fi fi # } -- cgit v1.2.3