Don't run trap at all for debug
This commit is contained in:
@@ -646,7 +646,7 @@ install_legacy_repo() {
|
||||
EOF
|
||||
# Set a trap to always cleanup legacy repo
|
||||
# shellcheck disable=SC2064
|
||||
trap "sudo rm -f $temp_repo_file" EXIT
|
||||
# trap "sudo rm -f $temp_repo_file" EXIT ERR INT
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user