aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/Contributions/cmd/brew-services.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-services.rb b/Library/Contributions/cmd/brew-services.rb
index 308c5ef11..0149b2382 100755
--- a/Library/Contributions/cmd/brew-services.rb
+++ b/Library/Contributions/cmd/brew-services.rb
@@ -94,7 +94,7 @@ module ServicesCli
def bin; "brew services" end
# Path to launchctl binary.
- def launchctl; "/bin/launchctl" end
+ def launchctl; which("launchctl") end
# Wohoo, we are root dude!
def root?; Process.uid == 0 end