revert the output redirection stuff of ebdcba686ea10c5da5dd4f4da98f19ef388c2af4

it seems like shellcheck complains about this but once the order of
'>' and '2>&1' is reversed, bash does not like it anymore. since
making bash happy is way more important than shellcheck, let's revert
this part of the change...