From: Jeremy Allison Date: Tue, 5 Dec 2017 16:58:24 +0000 (-0800) Subject: s3: test_smbclient_s3: Fix restore of TZ. X-Git-Tag: talloc-2.1.11~267 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25a407828367d1c3d700dc64f0be64d87342ae7f;p=thirdparty%2Fsamba.git s3: test_smbclient_s3: Fix restore of TZ. Signed-off-by: Jeremy Allison Reviewed-by: Alexander Bokovoy --- diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index 84f6ef5892e..8017d193812 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -1437,8 +1437,8 @@ EOF out=`eval $cmd` ret=$? - if [ -n "$SAVED_TZ" ] ; then - export TZ="$SAVED_TZ" + if [ -n "$saved_TZ" ] ; then + export TZ="$saved_TZ" else unset TZ fi