diff options
| -rwxr-xr-x | Library/Contributions/cmd/brew-services.rb | 2 |
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 |
