Close all logging file descriptors

This has lingered for a long time, finally do something about it...

Change-Id: Ib90408187698d5d4c23ffb0e527011446efc3c7e
This commit is contained in:
Dean Troyer 2014-03-05 11:50:23 -06:00
parent bb2d40b87c
commit 8068455a02
1 changed files with 6 additions and 0 deletions

View File

@ -1419,3 +1419,9 @@ fi
# Indicate how long this took to run (bash maintained variable ``SECONDS``)
echo_summary "stack.sh completed in $SECONDS seconds."
# Restore/close logging file descriptors
exec 1>&3
exec 2>&3
exec 3>&-
exec 6>&-