1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3: test_smbclient_s3: Fix restore of TZ.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
Jeremy Allison 2017-12-05 08:58:24 -08:00
parent ad0d2756da
commit 25a4078283

View File

@ -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