Preserve $LASTEXITCODE