GUI CLI integration missing non-zero exit codes #9225
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: manager/widget
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
How to file a helpful issue
Qubes OS release
4.2
Brief summary
Calling the GUI updater from the CLI always exits with zero even if some update failed.
Steps to reproduce
qubes-update-gui --restart
Expected behavior
Have failures consistent with CLI updater counterpart: after any failure, the exit code would be non-zero.
Extra caveat: what to do when user bailed on updates / restarts? (here are my takes)
--targets
was provided but user closed the updater before all updates were applied (exit non-zero)--restart
was forced via CLI but the user closed the updater before restarts were applied (blocked on GUI CLI integration "--restart" does not force restarts #9032)(If possible, the above exit codes are different to disambiguate)
Actual behavior
The GUI updater always exits with zero
The text was updated successfully, but these errors were encountered: