Minor correction to get error message printed on stdout instead of getting lost in redirection.