return correct exit code for load_data.php