Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jul 2, 2018
1 parent e152ac7 commit b110e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/systemd/src/lib/yast2/service_configuration.rb
Expand Up @@ -135,7 +135,7 @@ def support_on_demand?
private

def read_status
services_active = @services.map { |s| s.active? }
services_active = @services.map(&:active?)

return @status = :active if services_active.all?
return @status = :inactive if services_active.none?
Expand Down

0 comments on commit b110e66

Please sign in to comment.