Print the return code in link_and_run.