When the msys/msys2-runtime and msys/pacman-mirrors are updated, then at the end pacman offers to close the terminal to complete the update, when I press yes, then it returns exit 1.
But exit 1 means error, shouldn't return 0?
The whole output looks like this:
user@example MSYS ~
$ pacman -Syuu
:: Synchronizing package databases...
mingw32 1419.8 KiB 911 KiB/s 00:02 [#########################################] 100%
mingw64 1427.0 KiB 1083 KiB/s 00:01 [#########################################] 100%
ucrt64 1564.5 KiB 1044 KiB/s 00:01 [#########################################] 100%
clang64 1470.5 KiB 1038 KiB/s 00:01 [#########################################] 100%
msys 373.5 KiB 316 KiB/s 00:01 [#########################################] 100%
:: Starting core system upgrade...
warning: terminate other MSYS2 programs before proceeding
resolving dependencies...
looking for conflicting packages...
Package (2) Old Version New Version Net Change Download Size
msys/msys2-runtime 3.3.3-3 3.3.3-4 0.00 MiB 3.21 MiB
msys/pacman-mirrors 20211213-1 20211230-1 0.00 MiB 0.00 MiB
Total Download Size: 3.21 MiB
Total Installed Size: 11.51 MiB
Net Upgrade Size: 0.01 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
pacman-mirrors-20211230-1-any 3.9 KiB 7.60 KiB/s 00:01 [#########################################] 100%
msys2-runtime-3.3.3-4-x86_64 3.2 MiB 562 KiB/s 00:06 [#########################################] 100%
Total (2/2) 3.2 MiB 526 KiB/s 00:06 [#########################################] 100%
(2/2) checking keys in keyring [#########################################] 100%
(2/2) checking package integrity [#########################################] 100%
(2/2) loading package files [#########################################] 100%
(2/2) checking for file conflicts [#########################################] 100%
(2/2) checking available disk space [#########################################] 100%
:: Processing package changes...
(1/2) upgrading msys2-runtime [#########################################] 100%
(2/2) upgrading pacman-mirrors [#########################################] 100%
:: To complete this update all MSYS2 processes including this terminal will be closed. Confirm to proceed [Y/n] y
SUCCESS: The process with PID 19392 has been terminated.
[process exited with code 1 (0x00000001)]
When the
msys/msys2-runtime
andmsys/pacman-mirrors
are updated, then at the endpacman
offers to close the terminal to complete the update, when I press yes, then it returnsexit 1
. Butexit 1
means error, shouldn't return0
?The whole output looks like this: