Remove unrequired error redirection from bash script