From ff748ea030855c850b70d58bcfb5def7e4ac8db2 Mon Sep 17 00:00:00 2001 From: DenizUgur Date: Tue, 14 Feb 2023 01:04:34 -0800 Subject: [PATCH] change the default run_at_load value --- Library/Homebrew/service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/service.rb b/Library/Homebrew/service.rb index 49fb1076fa..643c69e0b5 100644 --- a/Library/Homebrew/service.rb +++ b/Library/Homebrew/service.rb @@ -171,12 +171,12 @@ module Homebrew end end - # Returns a `Boolean` describing if a service requires root access. + # Returns a `Boolean` describing if a service requires the command to execute at load. # @return [Boolean] sig { returns(T::Boolean) } def run_at_load? instance_eval(&@service_block) - @run_at_load.present? && @run_at_load == true + @run_at_load.present? && @run_at_load == false end sig { params(value: T.nilable(String)).returns(T.nilable(T::Hash[Symbol, String])) }