Skip to content

repo-add: fix exit on mktemp failure

Nicolas Rolans requested to merge nrolans/pacman:nrolans_repo_add_mktemp into master

Before this change, exit 1 applied to the subshell between ( ) and did no exit the main shell on mktemp failure. This converts the subshell to a group of commands in the main shell with { }.

Merge request reports