fix bash subcommand redirection - broken since 7603668