Skip to content

Commit

Permalink
fix(deck): Replace die with finish 0, may correct update errors some …
Browse files Browse the repository at this point in the history
…users have been experiencing
  • Loading branch information
KyleGospo committed Feb 27, 2024
1 parent 0f2fb7d commit e980853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec_files/jupiter-hw-support/biosupdate.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[[ ! -f $BIOS_INHIBIT_FILE ]] || die "Bios updates inhibited, no action ($BIOS_INHIBIT_FILE)"

+if ! systemctl is-enabled jupiter-biosupdate.service; then
+ die "Bios updates inhibited, no action (Service disabled)"
+ finish 0 no "Bios updates inhibited, no action (Service disabled)"
+fi
+
# Print action
Expand Down

0 comments on commit e980853

Please sign in to comment.