Skip to content

Commit

Permalink
feat(systemd-battery-check): always include the module if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
pvalena committed Jan 30, 2025
1 parent 53ca02b commit 74953e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules.d/01systemd-battery-check/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ check() {
# If the binary(s) requirements are not fulfilled the module can't be installed
require_binaries "$systemdutildir"/systemd-battery-check || return 1

# Return 255 to only include the module, if another module requires it.
return 255
return 0
}

# Module dependency requirements.
Expand Down

0 comments on commit 74953e5

Please sign in to comment.