yay
yay copied to clipboard
Installation cancellation produces an error (while interruption doesn't)
Affected Version
yay v12.0.4 - libalpm v13.0.2
Describe the bug
When user cancels an installation almost anytime during yay/pacman/makepkg operations with SIGINT, yay exits gracefully and no error is produced, even though the system might actually be left in an inconsistent state.
However, if user simply refuses a pacman operation in a dialogue (therby cancelling yay operation(s)), an error is produced.
Expected behavior
yay raises an error with SIGINT, but not when user simply refuses.
Output
:: Proceed with installation? [Y/n] n
-> error installing repo packages