It is not ignored it is a flag set to true if the redirection can be done successfully, to know if I need to unredirect to the screen, the file is not enough, because the file is set already from .> filename, but I do not want to unredirect to the screen until I have the next command i.e int a=0