It should just forward the exit code from the above process. You can test this by making one script named tmp1 which reads:
    exit 100
And another one tmp2 which reads:
    sudo -u rovanion -H ./tmp1
    exit
If you check the exit status of tmp2 it will read 100. Though using exec would work as well.