diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-09-02 23:04:08 +0200 |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-09-02 23:11:59 +0200 |
commit | 2864ae93aff78f91932e1a73ad45c692be81404c (patch) | |
tree | 3dd59b304548375916b31ec7f050079b5c49bb07 /samples/alphaev67-unknown-linux-gnu | |
parent | de6b6733947c65908efa6b7e98015136553a8f44 (diff) | |
download | crosstool-ng-2864ae93aff78f91932e1a73ad45c692be81404c.tar.gz crosstool-ng-2864ae93aff78f91932e1a73ad45c692be81404c.tar.bz2 crosstool-ng-2864ae93aff78f91932e1a73ad45c692be81404c.zip |
scripts: properly restore stdout/err/in at the end
Byt the end of the main script, the log file is being moved and
compressed, and the final destination might become read-only at any
time, so we consign stdout/err to oblivion.
This is incorrect, as some actions after may still fail (out of space,
for example).
So, properly restore stdout/err, but also stdin (useless, but harmless)
instead, so the user has a chance to see the error, especially since it
is not logged into the log file.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'samples/alphaev67-unknown-linux-gnu')
0 files changed, 0 insertions, 0 deletions