Browse code

Close all logging file descriptors

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

Change-Id: Ib90408187698d5d4c23ffb0e527011446efc3c7e

Dean Troyer authored on 2014/03/06 02:50:23
Showing 1 changed files
... ...
@@ -1419,3 +1419,9 @@ fi
1419 1419
 
1420 1420
 # Indicate how long this took to run (bash maintained variable ``SECONDS``)
1421 1421
 echo_summary "stack.sh completed in $SECONDS seconds."
1422
+
1423
+# Restore/close logging file descriptors
1424
+exec 1>&3
1425
+exec 2>&3
1426
+exec 3>&-
1427
+exec 6>&-