t9824: fix broken &&-chain in a subshell