diff --git a/cmd/services.rb b/cmd/services.rb index b179c8e..22ac936 100755 --- a/cmd/services.rb +++ b/cmd/services.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -if Version.new(HOMEBREW_VERSION) < Version.new("4.2.15") +if !Process.euid.zero? && Version.new(HOMEBREW_VERSION) < Version.new("4.2.15") odie "Your Homebrew is too outdated for `brew services`. Please run `brew update`!" end