Skip to content

Commit

Permalink
Do not exit with error on -so
Browse files Browse the repository at this point in the history
  • Loading branch information
mateosss committed Jul 5, 2020
1 parent a367d63 commit aa9c6de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions matter.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,13 +532,15 @@ def do_patch_grub_cfg_icons():
entries = get_entry_names(grub_cfg)
if len(icons) != len(entries):
error(
f"You must specify {len(entries)}"
f"You must specify {len(entries)} "
f"icons ({len(icons)} provided) for entries:",
should_exit=False,
)
for i, m in enumerate(entries):
print(f"{i + 1}. {m['entryname']}")
exit(1)
# NOTE: We exit with 0 here to not stop the apt upgrade process
# eventually it will be solved with an autoremove
exit(0)

# Build new grub cfg with given icons
new_grub_cfg = ""
Expand Down

0 comments on commit aa9c6de

Please sign in to comment.