From 25a407828367d1c3d700dc64f0be64d87342ae7f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 5 Dec 2017 08:58:24 -0800 Subject: [PATCH] s3: test_smbclient_s3: Fix restore of TZ. Signed-off-by: Jeremy Allison Reviewed-by: Alexander Bokovoy --- source3/script/tests/test_smbclient_s3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1